This document is archived and information here might be outdated.  Recommended version.


IParameterInfo.Optional Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IP > IParameterInfo Interface > IParameterInfo.Optional Property
ArcGIS Developer Help

IParameterInfo.Optional Property

Get parameter optional flag.

[Visual Basic .NET]
Public Function get_Optional ( _
    ByVal indexParam As Integer _
) As Boolean
[C#]
public bool get_Optional (
    int indexParam
);
[C++]
HRESULT get_Optional(
  long indexParam,
  Boolean* pOptional
);
[C++]
Parameters
indexParam [in]

indexParam is a parameter of type long pOptional [out, retval]
pOptional is a parameter of type bool*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IParameterInfo Interface