ProvideViewAttribute Constructor
Creates a new attribute.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Public Sub New ( _
logicalView As LogicalView, _
physicalView As String _
)
'使用
Dim logicalView As LogicalView
Dim physicalView As String
Dim instance As New ProvideViewAttribute(logicalView, _
physicalView)
public ProvideViewAttribute(
LogicalView logicalView,
string physicalView
)
public:
ProvideViewAttribute(
LogicalView logicalView,
String^ physicalView
)
public function ProvideViewAttribute(
logicalView : LogicalView,
physicalView : String
)
Parameters
logicalView
Type: Microsoft.VisualStudio.Shell.LogicalViewAn enumeration of the kinds of logical views available.
physicalView
Type: System.StringThe GUID of the physical view. This can be a null reference (Nothing in Visual Basic) to indicate the default physical view.
Remarks
See LogicalView for the possible values of this enumeration.
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.