共用方式為


LifelineExtensions.FindInsertionPoint 方法 (ILifeline, IInteractionOperand)

傳回互動運算元開頭 (頂端) 的插入點。 使用這個方法在互動運算元內加入第一則訊息。

命名空間:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
組件:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (在 Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll 中)

語法

'宣告
<ExtensionAttribute> _
Public Shared Function FindInsertionPoint ( _
    lifeline As ILifeline, _
    currentInteractionOperand As IInteractionOperand _
) As IInsertionPoint
public static IInsertionPoint FindInsertionPoint(
    this ILifeline lifeline,
    IInteractionOperand currentInteractionOperand
)
[ExtensionAttribute]
public:
static IInsertionPoint^ FindInsertionPoint(
    ILifeline^ lifeline, 
    IInteractionOperand^ currentInteractionOperand
)
static member FindInsertionPoint : 
        lifeline:ILifeline * 
        currentInteractionOperand:IInteractionOperand -> IInsertionPoint
public static function FindInsertionPoint(
    lifeline : ILifeline, 
    currentInteractionOperand : IInteractionOperand
) : IInsertionPoint

參數

傳回值

類型:Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml.IInsertionPoint

使用注意事項

在 Visual Basic 和 C# 中,您可以在任何 ILifeline 類型物件中呼叫這個方法以做為執行個體。使用執行個體方法語法呼叫這個方法時,請省略第一個參數。如需詳細資訊,請參閱擴充方法 (Visual Basic)擴充方法 (C# 程式設計手冊)

.NET Framework 安全性

請參閱

參考

LifelineExtensions 類別

FindInsertionPoint 多載

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml 命名空間