[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.ShadowAttribute

Class ShadowAttribute

Namespace
GrapeCity.Documents.DX
Assembly
GcDocs.DX.Windows.dll

Shadow attribute used to associate a COM callbackable interface to its Shadow implementation.

[AttributeUsage(AttributeTargets.Interface)]
public class ShadowAttribute : Attribute, _Attribute
Inheritance
ShadowAttribute
Implements
Inherited Members

Constructors

ShadowAttribute(Type)

Initializes a new instance of ShadowAttribute class.

public ShadowAttribute(Type typeOfTheAssociatedShadow)

Parameters

typeOfTheAssociatedShadow Type

Type of the associated shadow

Properties

Type

Gets the value.

public Type Type { get; }

Property Value

Type

Methods

Get(Type)

Get ShadowAttribute from type.

public static ShadowAttribute Get(Type type)

Parameters

type Type

Type to get shadow attribute

Returns

ShadowAttribute

The associated shadow attribute or null if no shadow attribute were found