ManagedLibrary Element (ProxyGen)
Represents the contents of a managed assembly that contains the host application's object model.
<ManagedLibrary
<Class>...</Class>
<Delegate>...</Delegate>
<Enum>...</Enum>
<Exception>...</Exception>
<Interface>...</Interface>
<Struct>...</Struct>
</ManagedLibrary>
ManagedLibrary_Type
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
Child Elements
Element |
Description |
---|---|
Optional ManagedEntryPoint_Type element. Represents a proxy class for a managed class. |
|
Optional ManagedDelegate_Type element. Represents a proxy delegate for a managed delegate that is not defined in a parent class. |
|
Optional Enum_Type element. Represents a proxy enumeration for a managed enumeration. |
|
Optional Exception_Type element. Represents a proxy exception that maps to an exception in the host application's object model. |
|
Optional ManagedEntryPoint_Type element. Represents a proxy interface for a managed interface. |
|
Optional ManagedType_Type element. Represents a proxy struct for a managed struct. Note When you use ProxyGen.exe to generate a proxy code file, it generates a class, rather than a struct, for every Struct element. For more information, see Proxies for Managed Assemblies. |
Parent Elements
Element |
Description |
---|---|
Required root element of the proxy descriptor file. |
Element Information
Namespace |
https://schemas.microsoft.com/vsta/2008/01/ProxyGenDescriptor |
Schema name |
ProxyGen Descriptor |
Validation file |
ProxyGenDescriptorv2.xsd |
Can be empty |
Yes |