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
'Declaration
Public Sub New ( _
scope As AttributeScope, _
scopeData As Object _
)
public ProvideDesignerLoaderAttribute(
AttributeScope scope,
Object scopeData
)
public:
ProvideDesignerLoaderAttribute(
AttributeScope scope,
Object^ scopeData
)
new :
scope:AttributeScope *
scopeData:Object -> ProvideDesignerLoaderAttribute
public function ProvideDesignerLoaderAttribute(
scope : AttributeScope,
scopeData : Object
)
Parameters
scope
Type: Microsoft.VisualStudio.Shell.Design.AttributeScopeThe values of the enumeration AttributeScope are Language and File.
scopeData
Type: ObjectThe 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.