DeclaringType Element (ProxyGen)

Represents the interface or base type in which a member is declared, if the member is an explicit interface implementation or an override. The type cannot be an array.

<DeclaringType>
  <ExternalTypeReference>...</ExternalTypeReference>
  <TypeReference>...</TypeReference>
</DeclaringType>

TypeReference_Type

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child Elements

Element

Description

ExternalTypeReference

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.

TypeReference

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

Event Element for Class for COMLibrary

Represents an event that is defined in a proxy type for a COM type.

Event Element for Class for ManagedLibrary

Represents an event that is defined in a proxy type for a managed type.

Field

Represents a field that is defined in a proxy type for a managed type.

Method Element for Class for COMLibrary

Represents a method that is defined in a proxy type for a COM type.

Method Element for Class for ManagedLibrary

Represents a method that is defined in a proxy type for a managed type.

Property Element for Class for COMLibrary

Represents a property that is defined in a proxy type for a COM type.

Property Element for Class for ManagedLibrary

Represents a property that is defined in a proxy type for a managed type.

Element Information

Namespace

https://schemas.microsoft.com/vsta/2008/01/ProxyGenDescriptor

Schema name

ProxyGen Descriptor

Validation file

ProxyGenDescriptorv2.xsd

Can be empty

No

See Also

Concepts

ProxyGen Descriptor Schema Reference

Creating Proxies

Defining Entry Points and Other Proxy Changes