ReturnValueAttribute Element (ProxyGen)
Represents an attribute that is applied to the return value of a member or delegate type.
<ReturnValueAttribute>
<NullParameter>...</NullParameter>
<Parameter>...</Parameter>
<NamedNullParameter>...</NamedNullParameter>
<NamedParameter>...</NamedParameter>
<Type>...</Type>
</ReturnValueAttribute>
Attribute_Type
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
Child Elements
Element |
Description |
---|---|
Optional element. Represents a named parameter of the attribute's constructor that is passed the value null. This element must be located after the Parameter and NullParameter elements. |
|
Optional element. Represents a named parameter of the attribute's constructor. This element must be located after the Parameter and NullParameter elements. |
|
Optional element. Represents a positional parameter of the attribute's constructor that is passed the value null. This element must be located before the NamedParameter and NamedNullParameter elements. |
|
Optional element. Represents a positional parameter of the attribute's constructor. This element must be located before the NamedParameter and NamedNullParameter elements. |
|
Required TypeReference_Type element. Describes the type of the attribute. This element can be only the first or last child element. |
Parent Elements
Element |
Description |
---|---|
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 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 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 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. |
Element Information
Namespace |
https://schemas.microsoft.com/vsta/2008/01/ProxyGenDescriptor |
Schema name |
ProxyGen Descriptor |
Validation file |
ProxyGenDescriptorv2.xsd |
Can be empty |
No |