共用方式為


DslLibraryDefinesElements.SetDslLibrary Method

Sets DslLibrary.

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 SetDslLibrary ( _
    element As DiagramElement, _
    newDslLibrary As DslLibrary _
)
public static void SetDslLibrary(
    DiagramElement element,
    DslLibrary newDslLibrary
)
public:
static void SetDslLibrary(
    DiagramElement^ element, 
    DslLibrary^ newDslLibrary
)
static member SetDslLibrary : 
        element:DiagramElement * 
        newDslLibrary:DslLibrary -> unit 
public static function SetDslLibrary(
    element : DiagramElement, 
    newDslLibrary : DslLibrary
)

Parameters

.NET Framework Security

See Also

Reference

DslLibraryDefinesElements Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace