共用方式為


PropertyHasType.SetType Method

Sets Type.

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 SetType ( _
    element As DomainProperty, _
    newType As DomainType _
)
public static void SetType(
    DomainProperty element,
    DomainType newType
)
public:
static void SetType(
    DomainProperty^ element, 
    DomainType^ newType
)
static member SetType : 
        element:DomainProperty * 
        newType:DomainType -> unit 
public static function SetType(
    element : DomainProperty, 
    newType : DomainType
)

Parameters

.NET Framework Security

See Also

Reference

PropertyHasType Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace