ClosureContextHelper.AddClosureElementOperation Method (ElementGroup, ClosureElementOperation)
Add an element closure element operation to the group's context
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Public Shared Sub AddClosureElementOperation ( _
group As ElementGroup, _
operation As ClosureElementOperation _
)
public static void AddClosureElementOperation(
ElementGroup group,
ClosureElementOperation operation
)
public:
static void AddClosureElementOperation(
ElementGroup^ group,
ClosureElementOperation^ operation
)
static member AddClosureElementOperation :
group:ElementGroup *
operation:ClosureElementOperation -> unit
public static function AddClosureElementOperation(
group : ElementGroup,
operation : ClosureElementOperation
)
Parameters
group
Type: Microsoft.VisualStudio.Modeling.ElementGroupthe Element group
operation
Type: Microsoft.VisualStudio.Modeling.ClosureElementOperationthe operation to add
.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.