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.
Represents a base type that another type derives from. The type cannot be an array.
<BaseType>
<ExternalTypeReference>...</ExternalTypeReference>
<TypeReference>...</TypeReference>
</BaseType>
TypeReference_Type
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
Child Elements
Element |
Description |
|---|---|
Optional ExternalTypeReference_Type element. Describes a type that is not defined in the proxy descriptor file. You must include either an ExternalTypeReference or TypeReference element, but not both. |
|
Optional InternalTypeReference_Type element. Describes a type that is defined in the proxy descriptor file. You must include either a TypeReference or ExternalTypeReference element, but not both. |
Parent Elements
Element |
Description |
|---|---|
Represents a proxy class for a COM class. |
|
Represents a proxy class for a managed class. |
|
Represents a proxy exception for a managed exception. |
|
Represents a proxy interface for a COM interface. |
|
Represents a proxy interface for a managed interface. |
|
Represents a proxy struct for a managed struct. |
Example
The following example demonstrates a BaseType element that is a child of a Class element. This BaseType element specifies that the ShapeAppForm class derives from the System.Windows.Forms.Form class.
<Class originalFullyQualifiedName="Microsoft.VisualStudio.Tools.Applications.Samples.ShapeApp.ShapeAppForm"
isExcluded="true"
isAddInEntryPoint="false">
<BaseType>
<ExternalTypeReference isInterface="false" isMarshalByRefObject="true" type="System.Windows.Forms.Form" />
</BaseType>
...
</Class>
Element Information
Namespace |
https://schemas.microsoft.com/vsta/2008/01/ProxyGenDescriptor |
Schema name |
ProxyGen Descriptor |
Validation file |
ProxyGenDescriptorv2.xsd |
Can be empty |
No |