ProvideViewAttribute Constructor
Creates a new attribute.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'Declaración
Public Sub New ( _
logicalView As LogicalView, _
physicalView As String _
)
'Uso
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
)
new :
logicalView:LogicalView *
physicalView:string -> ProvideViewAttribute
public function ProvideViewAttribute(
logicalView : LogicalView,
physicalView : String
)
Parameters
- logicalView
Type: Microsoft.VisualStudio.Shell.LogicalView
An enumeration of the kinds of logical views available.
- physicalView
Type: System.String
The GUID of the physical view. This can be nulla null reference (Nothing in Visual Basic) to indicate the default physical view.
Remarks
See LogicalView for the possible values of this enumeration.
.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.