GraphProviderAttribute Constructor (Type)

Constructor for specifying a custom type to be MEF exported.

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

Syntax

'Declaration
Public Sub New ( _
    contractType As Type _
)
public GraphProviderAttribute(
    Type contractType
)
public:
GraphProviderAttribute(
    Type^ contractType
)
new : 
        contractType:Type -> GraphProviderAttribute
public function GraphProviderAttribute(
    contractType : Type
)

Parameters

  • contractType
    Type: Type

    The type that will be exported through MEF. Currently only IGraphProvider is supported.

.NET Framework Security

See Also

Reference

GraphProviderAttribute Class

GraphProviderAttribute Overload

Microsoft.VisualStudio.GraphModel Namespace