Compartir a través de


BehavioredClassifierExtensions.CreateNestedActivity Method

Create an activity that describes the behavior of this element.

Namespace:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function CreateNestedActivity ( _
    parent As IBehavioredClassifier _
) As IActivity
public static IActivity CreateNestedActivity(
    this IBehavioredClassifier parent
)
[ExtensionAttribute]
public:
static IActivity^ CreateNestedActivity(
    IBehavioredClassifier^ parent
)
static member CreateNestedActivity : 
        parent:IBehavioredClassifier -> IActivity
public static function CreateNestedActivity(
    parent : IBehavioredClassifier
) : IActivity

Parameters

Return Value

Type: Microsoft.VisualStudio.Uml.Activities.IActivity

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IBehavioredClassifier. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

.NET Framework Security

See Also

Reference

BehavioredClassifierExtensions Class

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace