CustomPropertyDescriptor.SetTypeDescriptor Method
Sets TypeDescriptor.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'宣告
Public Shared Sub SetTypeDescriptor ( _
element As PropertyPath, _
newTypeDescriptor As DomainTypeDescriptor _
)
public static void SetTypeDescriptor(
PropertyPath element,
DomainTypeDescriptor newTypeDescriptor
)
public:
static void SetTypeDescriptor(
PropertyPath^ element,
DomainTypeDescriptor^ newTypeDescriptor
)
static member SetTypeDescriptor :
element:PropertyPath *
newTypeDescriptor:DomainTypeDescriptor -> unit
public static function SetTypeDescriptor(
element : PropertyPath,
newTypeDescriptor : DomainTypeDescriptor
)
Parameters
- newTypeDescriptor
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.