ProvideDesignerLoaderAttribute Constructor
Provides a new instance of ProvideDesignerLoaderAttribute.
Namespace: Microsoft.VisualStudio.Shell.Design.Serialization
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Declaração
Public Sub New ( _
scope As AttributeScope, _
scopeData As Object _
)
public ProvideDesignerLoaderAttribute(
AttributeScope scope,
Object scopeData
)
Parameters
- scope
Type: Microsoft.VisualStudio.Shell.Design.AttributeScope
The values of the enumeration AttributeScope are Language and File.
- scopeData
Type: System.Object
The value of the scope. Logic internal to the method treats this as a string.
Remarks
Provides a designer loader to a particular file extension. By using this constructor you limit the designer loader to work only with the given file extension.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.