Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Describes a type that is not defined in the proxy descriptor file. The type cannot be an array.
<ExternalTypeReference isInterface = "true/false"
isMarshalByRefObject = "true/false"
type = "Fully qualified type name">
</ExternalTypeReference>
ExternalTypeReference_Type
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute |
Description |
|---|---|
isInterface |
Optional xs:boolean attribute. true if the type is an interface; otherwise, false. The default is true. |
isMarshalByRefObject |
Optional xs:boolean attribute. true if the type derives from MarshalByRefObject; otherwise, false. The default is false. |
type |
Required name_Type attribute. The fully qualified name of the type. |
Child Elements
None.
Parent Elements
Element |
Description |
|---|---|
Represents a reference to a type that is used in the declaration of an attribute or event. |
Example
The following example demonstrates an ExternalTypeReference element that describes the type of an attribute for a property named FileName. The attribute has the type MarshalAsAttribute.
<Property originalName="FileName" isExcluded="false" dispId="1">
<Type>
<ExternalTypeReference isInterface="false" type="System.String" />
</Type>
<Get isExcluded="false">
<Attribute>
<Type>
<ExternalTypeReference isInterface="false" type="System.Runtime.InteropServices.MarshalAsAttribute" />
</Type>
<Parameter value="BStr">
<Type>
<ExternalTypeReference isInterface="false" type="System.Runtime.InteropServices.UnmanagedType" />
</Type>
</Parameter>
</Attribute>
</Get>
</Property>
Element Information
Namespace |
https://schemas.microsoft.com/vsta/2008/01/ProxyGenDescriptor |
Schema name |
ProxyGen Descriptor |
Validation file |
ProxyGenDescriptorv2.xsd |
Can be empty |
Not applicable |