ElementTypeDescriptor Constructor (ICustomTypeDescriptor, Type)
ctor for creating the wrapper class which represents the MEL type to be consumed
Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Déclaration
Protected Friend Sub New ( _
parent As ICustomTypeDescriptor, _
elementType As Type _
)
protected internal ElementTypeDescriptor(
ICustomTypeDescriptor parent,
Type elementType
)
protected public:
ElementTypeDescriptor(
ICustomTypeDescriptor^ parent,
Type^ elementType
)
new :
parent:ICustomTypeDescriptor *
elementType:Type -> ElementTypeDescriptor
function ElementTypeDescriptor(
parent : ICustomTypeDescriptor,
elementType : Type
)
Parameters
- parent
Type: System.ComponentModel.ICustomTypeDescriptor
Parent custom type descriptor.
- elementType
Type: System.Type
Element type to be described.
.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.