共用方式為


InteractionExtensions.CreateLostFoundMessage 方法

建立不是在生命線上開始或結束的訊息。

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

語法

'宣告
<ExtensionAttribute> _
Public Shared Function CreateLostFoundMessage ( _
    parent As IInteraction, _
    messageKind As MessageKind, _
    lostFoundInsertionPoint As IInsertionPoint _
) As IMessage
public static IMessage CreateLostFoundMessage(
    this IInteraction parent,
    MessageKind messageKind,
    IInsertionPoint lostFoundInsertionPoint
)
[ExtensionAttribute]
public:
static IMessage^ CreateLostFoundMessage(
    IInteraction^ parent, 
    MessageKind messageKind, 
    IInsertionPoint^ lostFoundInsertionPoint
)
static member CreateLostFoundMessage : 
        parent:IInteraction * 
        messageKind:MessageKind * 
        lostFoundInsertionPoint:IInsertionPoint -> IMessage
public static function CreateLostFoundMessage(
    parent : IInteraction, 
    messageKind : MessageKind, 
    lostFoundInsertionPoint : IInsertionPoint
) : IMessage

參數

傳回值

類型:Microsoft.VisualStudio.Uml.Interactions.IMessage

使用注意事項

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

.NET Framework 安全性

請參閱

參考

InteractionExtensions 類別

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