다음을 통해 공유


CustomPropertyDescriptor.SetTypeDescriptor Method

Sets TypeDescriptor.

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 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