ProvideEditorLogicalViewAttribute Constructor
Initializes a new instance of ProvideEditorLogicalViewAttribute for the specified factory type and logical view.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.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
)
new :
factoryType:Object *
logicalViewGuid:string -> ProvideEditorLogicalViewAttribute
public function ProvideEditorLogicalViewAttribute(
factoryType : Object,
logicalViewGuid : String
)
Parameters
- factoryType
Type: System.Object
The type of factory. This may be a type, a GUID or a string representation of a GUID
- logicalViewGuid
Type: System.String
The GUID of the logical view to register.
.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.
See Also
Reference
ProvideEditorLogicalViewAttribute Class