Share via


ModelTranslatorDefinition.AddAction Method

Adds an action.

Namespace:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public Sub AddAction ( _
    fromClass As ElementClass, _
    action As ModelTranslatorAction _
)
'Usage
Dim instance As ModelTranslatorDefinition
Dim fromClass As ElementClass
Dim action As ModelTranslatorAction

instance.AddAction(fromClass, action)
public void AddAction(
    ElementClass fromClass,
    ModelTranslatorAction action
)
public:
void AddAction(
    ElementClass^ fromClass, 
    ModelTranslatorAction^ action
)
public function AddAction(
    fromClass : ElementClass, 
    action : ModelTranslatorAction
)
member AddAction : 
        fromClass:ElementClass * 
        action:ModelTranslatorAction -> unit 

Parameters

.NET Framework Security

See Also

Reference

ModelTranslatorDefinition Class

ModelTranslatorDefinition Members

Microsoft.Data.Schema.SchemaModel Namespace