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


IReferenceDataField.Required Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Location)  

IReferenceDataField.Required Property

Indicates whether the field is a required by the locator.

[Visual Basic .NET]
Public ReadOnly Property Required As Boolean
[C#]
public bool Required {get;}
[C++]
HRESULT get_Required(
  VARIANT_BOOL* bRequired
);
[C++]

Parameters bRequired [out, retval] bRequired is a parameter of type VARIANT_BOOL

Product Availability

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

Remarks

If the Required property is False, then the reference data source does not need to contain this Field.

See Also

IReferenceDataField Interface