This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IP > IParameterInfo Interface > IParameterInfo.Optional Property (ArcObjects .NET 10.5 SDK) |
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