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


IParameterInfo.Optional Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

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,
  VARIANT_BOOL* pOptional
);
[C++]

Parameters indexParam [in] indexParam is a parameter of type long pOptional [out, retval] pOptional is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

IParameterInfo Interface