DslLibraryDefinesShapes.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 BaseShape, _
newDslLibrary As DslLibrary _
)
public static void SetDslLibrary(
BaseShape element,
DslLibrary newDslLibrary
)
public:
static void SetDslLibrary(
BaseShape^ element,
DslLibrary^ newDslLibrary
)
static member SetDslLibrary :
element:BaseShape *
newDslLibrary:DslLibrary -> unit
public static function SetDslLibrary(
element : BaseShape,
newDslLibrary : DslLibrary
)
Parameters
- element
Type: Microsoft.VisualStudio.Modeling.DslDefinition.BaseShape
- 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.