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
'Déclaration
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
- newDslLibrary
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary
.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.