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
- newType
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainType
.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.