XmlClassDataAppliesToDomainClass.SetDomainClass Method
Sets DomainClass.
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 SetDomainClass ( _
element As XmlClassData, _
newDomainClass As DomainClass _
)
public static void SetDomainClass(
XmlClassData element,
DomainClass newDomainClass
)
public:
static void SetDomainClass(
XmlClassData^ element,
DomainClass^ newDomainClass
)
static member SetDomainClass :
element:XmlClassData *
newDomainClass:DomainClass -> unit
public static function SetDomainClass(
element : XmlClassData,
newDomainClass : DomainClass
)
Parameters
- newDomainClass
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass
.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.