Udostępnij za pośrednictwem


GlobalObjectDescriptionAttribute Class

Definition

Important

This API is not CLS-compliant.

Allows global object providers to tag the global object instances they provide with additional metadata.

public ref class GlobalObjectDescriptionAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class)]
[System.CLSCompliant(false)]
public class GlobalObjectDescriptionAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class)]
public class GlobalObjectDescriptionAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
[<System.CLSCompliant(false)>]
type GlobalObjectDescriptionAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type GlobalObjectDescriptionAttribute = class
    inherit Attribute
Public Class GlobalObjectDescriptionAttribute
Inherits Attribute
Inheritance
GlobalObjectDescriptionAttribute
Attributes

Constructors

GlobalObjectDescriptionAttribute(GlobalObject, IDictionary)

Initializes a new instance of GlobalObjectDescriptionAttribute for the specified global object and custom data.

GlobalObjectDescriptionAttribute(GlobalObject)

Initializes a new instance of GlobalObjectDescriptionAttribute for the specified global object.

Properties

CustomData

Gets the custom data.

GlobalObject

Gets the global object to which the custom data should apply.

Applies to