This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IS > ISubtypes Interface > ISubtypes.Domain Property (ArcObjects .NET 10.4 SDK) |
The domain given the subtype and field.
[Visual Basic .NET] Public Function get_Domain ( _ ByVal SubtypeCode As Integer, _ ByVal FieldName As String _ ) As IDomain
[Visual Basic .NET] Public Sub set_Domain ( _ ByVal SubtypeCode As Integer, _ ByVal FieldName As String, _ ByVal Domain As IDomain _ )
[C#] public IDomain get_Domain ( int SubtypeCode, string FieldName );
[C#] public void set_Domain ( int SubtypeCode, string FieldName, IDomain Domain );
[C++]
HRESULT get_Domain(
long SubtypeCode,
BSTR FieldName,
IDomain** Domain
);
[C++]
HRESULT putref_Domain(
long SubtypeCode,
BSTR FieldName,
IDomain* Domain
);
[C++]
Parameters SubtypeCode [in] SubtypeCode is a parameter of type long FieldName [in] FieldName is a parameter of type BSTR Domain [out, retval]
Domain is a parameter of type IDomain SubtypeCode [in] SubtypeCode is a parameter of type long FieldName [in] FieldName is a parameter of type BSTR Domain [in]
Domain is a parameter of type IDomain
The Domain property returns or sets the domain given the subtype code and the fieldname of the subtype.
If your application/site is not appropriately licensed, Domain can return an error of FDO_E_NO_SCHEMA_LICENSE.
This property returns or sets an IDomain object associated with a particular subtype code and field. The subtype code is required as a Long and field name as a String.