Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Describes the underlying integral type of an enumeration.
<ExternalTypeReference isInterface = "true/false"
isMarshalByRefObject = "true/false"
type = "Underlying integral type">
</ExternalTypeReference>
UnderlyingTypeExternalTypeReference_Type
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute |
Description |
---|---|
isInterface |
Optional xs:boolean attribute. This attribute can be set only to false. |
isMarshalByRefObject |
Optional xs:boolean attribute. This attribute can be set only to false. |
type |
Required xs:string attribute. This attribute can have one of the following values that specifies underlying integral type of an enumeration:
|
Child Elements
None.
Parent Elements
Element |
Description |
---|---|
Represents the underlying integral type of a proxy enumeration for a COM or managed enumeration. |
Example
The following example demonstrates an ExternalTypeReference element that describes the underlying integral type of a proxy enumeration named ShapeType. The underlying type is Int32.
<Enum originalFullyQualifiedName="ShapeApp.Proxy.ShapeType"
isExcluded="false"
newNamespace="ShapeApp.Proxy">
<UnderlyingType>
<ExternalTypeReference isInterface="false" type="System.Int32" />
</UnderlyingType>
<EnumerationValue originalName="Circle" value="0" />
<EnumerationValue originalName="Square" value="1" />
<EnumerationValue originalName="Triangle" value="2" />
<EnumerationValue originalName="Octagon" value="3" />
<EnumerationValue originalName="Star" value="4" />
</Enum>
Element Information
Namespace |
https://schemas.microsoft.com/vsta/2008/01/ProxyGenDescriptor |
Schema name |
ProxyGen Descriptor |
Validation file |
ProxyGenDescriptorv2.xsd |
Can be empty |
Not applicable |