共用方式為


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

.NET Framework Security

See Also

Reference

CustomPropertyDescriptor Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace