ProxyGen Descriptor Schema Reference
The Proxy Generation tool (ProxyGen.exe) uses the ProxyGen descriptor schema to generate XML proxy descriptor files. Proxy descriptor files contain an XML representation of the types in the COM type library or managed assembly that contains your application's object model. If you modify the object model by editing the proxy descriptor file, your changes must validate according to the ProxyGen descriptor schema. For more information, see Defining Entry Points and Other Proxy Changes.
The ProxyGen descriptor schema is named ProxyGenDescriptorV2.xsd, and is installed by default to the following folder on your development computer: %ProgramFiles%\Visual Studio Tools for Applications 2.0 SDK\build number\Visual Studio Tools For Applications\Schemas.
The root element is the Library element. The following table describes all of the elements defined by the ProxyGen descriptor schema.
Element |
Description |
---|---|
Represents an attribute of a type, member, or parameter. |
|
Represents a base type that another type derives from. |
|
Represents a proxy class for a COM class in the host application's object model. |
|
Represents a proxy class for a managed class in the host application's object model. |
|
Represents the contents of a COM type library that contains the host application's object model. |
|
Represents a constant that is defined in a proxy type for a COM or managed type. |
|
Represents the interface or base type in which a member is declared, if the member is an explicit interface implementation or an override. |
|
Indicates that a parameter has a null default value. |
|
Specifies the default value of a parameter. |
|
Represents a proxy delegate for a managed delegate that is defined in a parent class, or represents a proxy delegate that handles a COM event. |
|
Represents a proxy delegate for a managed delegate that is not defined in a parent class. |
|
Represents a proxy enumeration for a COM or managed enumeration. |
|
Represents a member of a proxy enumeration for a COM or managed enumeration. |
|
Represents an event that is defined in a proxy type for a COM type. |
|
Represents an event that is defined in a proxy type for a managed type. |
|
Represents a proxy exception for a managed exception. |
|
Describes a type that is not defined in the proxy descriptor file. The type can be an array. |
|
ExternalTypeReference Element for Type for Attribute or Event |
Describes a type that is not defined in the proxy descriptor file. The type cannot be an array. |
Describes the underlying integral type of an enumeration. |
|
Represents a field that is defined in a proxy exception for a managed exception. |
|
Represents the get accessor of a property of a COM or managed type. |
|
Represents an interface that another type implements. |
|
Represents a proxy interface for a COM interface in the host application's object model. |
|
Represents a proxy interface for a managed interface in the host application's object model. |
|
Required root element of a proxy descriptor file generated by using ProxyGen.exe. The proxy descriptor file describes the contents of either a COM type library or a managed assembly. |
|
Represents the contents of a managed assembly that contains the host application's object model. |
|
Represents a method that is defined in a proxy type for a COM type. |
|
Represents a method that is defined in a proxy type for a managed type. |
|
Represents a named parameter of an attribute's constructor that is passed the value null. |
|
Represents a named parameter of an attribute's constructor. |
|
Represents a positional parameter of an attribute's constructor that is passed the value null. |
|
Indicates that a constant has a null value. |
|
Represents a parameter of a member or delegate type. |
|
Represents a positional parameter of an attribute's constructor. |
|
Represents a property that is defined in a proxy type for a COM type. |
|
Represents a property that is defined in a proxy type for a managed type. |
|
Represents the type of the return value of a method. |
|
Represents an attribute that is applied to the return value of a member or delegate type. |
|
Represents the set accessor of a property of a COM or managed type. |
|
Represents a proxy class for a managed struct in the host application's object model. |
|
Represents a reference to a type that is used in the declaration of a member or parameter. |
|
Represents a reference to a type that is used in the declaration of an attribute or event. |
|
Describes a type that is defined in the proxy descriptor file. The type can be an array. |
|
Describes a type that is defined in the proxy descriptor file. The type cannot be an array. |
|
Represents the underlying integral type of a proxy enumeration for a COM or managed enumeration. |
|
Specifies the value of a constant. |
See Also
Tasks
Walkthrough: Creating a Proxy Assembly