DomainClassHasCustomTypeDescriptor.SetCustomTypeDescriptor Method
Sets CustomTypeDescriptor.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)
Syntax
'Declaration
Public Shared Sub SetCustomTypeDescriptor ( _
element As DomainClass, _
newCustomTypeDescriptor As DomainTypeDescriptor _
)
public static void SetCustomTypeDescriptor(
DomainClass element,
DomainTypeDescriptor newCustomTypeDescriptor
)
public:
static void SetCustomTypeDescriptor(
DomainClass^ element,
DomainTypeDescriptor^ newCustomTypeDescriptor
)
static member SetCustomTypeDescriptor :
element:DomainClass *
newCustomTypeDescriptor:DomainTypeDescriptor -> unit
public static function SetCustomTypeDescriptor(
element : DomainClass,
newCustomTypeDescriptor : DomainTypeDescriptor
)
Parameters
- newCustomTypeDescriptor
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainTypeDescriptor
.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.