ProvideViewAdapterAttribute Constructor (Type)
Initializes a new instance of ProvideViewAdapterAttribute for the specified base type.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Declaration
Public Sub New ( _
baseType As Type _
)
'Usage
Dim baseType As Type
Dim instance As New ProvideViewAdapterAttribute(baseType)
public ProvideViewAdapterAttribute(
Type baseType
)
public:
ProvideViewAdapterAttribute(
Type^ baseType
)
new :
baseType:Type -> ProvideViewAdapterAttribute
public function ProvideViewAdapterAttribute(
baseType : Type
)
Parameters
- baseType
Type: System.Type
The type that this view adapter should handle.
Remarks
This constructor creates a view adapter with global scope, that can handle any object of the given type.
.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
ProvideViewAdapterAttribute Class
ProvideViewAdapterAttribute Members