Initializes a new instance of ProvideEditorLogicalViewAttribute for the specified factory type and logical view.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Public Sub New ( _
factoryType As Object, _
logicalViewGuid As String _
)
'使用
Dim factoryType As Object
Dim logicalViewGuid As String
Dim instance As New ProvideEditorLogicalViewAttribute(factoryType, _
logicalViewGuid)
public ProvideEditorLogicalViewAttribute(
Object factoryType,
string logicalViewGuid
)
public:
ProvideEditorLogicalViewAttribute(
Object^ factoryType,
String^ logicalViewGuid
)
public function ProvideEditorLogicalViewAttribute(
factoryType : Object,
logicalViewGuid : String
)
Parameters
factoryType
Type: System.ObjectThe type of factory. This may be a type, a GUID or a string representation of a GUID
logicalViewGuid
Type: System.StringThe GUID of the logical view to register.
Permissions
- 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.
See Also
Reference
ProvideEditorLogicalViewAttribute Class