COMLibrary Element (ProxyGen)

Represents the contents of a COM type library that contains the host application's object model.

<COMLibrary GUID = "GUID of COM type library"
    LCID = "Locale ID of COM type library">
  <Class>...</Class>
  <Delegate>...</Delegate>
  <Enum>...</Enum>
  <Interface>...</Interface>
</COMLibrary>

COMLibrary_Type

Attributes and Elements

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

Attributes

Attribute

Description

GUID

Required guid_Type attribute.

The GUID of the COM type library. The value must be a valid GUID without enclosing braces ({}).

LCID

Optional xs:string attribute.

The locale ID of the COM type library.

Child Elements

Element

Description

Class

Optional COMClass_Type element.

Represents a proxy class for a COM class.

Delegate

Optional Delegate_Type element.

Represents a proxy delegate that handles a COM event.

Enum

Optional Enum_Type element.

Represents a proxy enumeration for a COM enumeration.

Interface

Optional COMType_Type element.

Represents a proxy interface for a COM interface.

Parent Elements

Element

Description

Library

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

See Also

Concepts

ProxyGen Descriptor Schema Reference

Creating Proxies

Defining Entry Points and Other Proxy Changes