共用方式為


ShapeMapReferencesClass.SetClass Method

Sets Class.

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 SetClass ( _
    element As BaseShapeMap, _
    newClass As DomainClass _
)
public static void SetClass(
    BaseShapeMap element,
    DomainClass newClass
)
public:
static void SetClass(
    BaseShapeMap^ element, 
    DomainClass^ newClass
)
static member SetClass : 
        element:BaseShapeMap * 
        newClass:DomainClass -> unit 
public static function SetClass(
    element : BaseShapeMap, 
    newClass : DomainClass
)

Parameters

.NET Framework Security

See Also

Reference

ShapeMapReferencesClass Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace