共用方式為


ILifeline.TopLevelOccurrences 屬性

取得附加至此生命線的項目規格,不包括巢狀在其他生命線內的生命線。

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

語法

'宣告
ReadOnly Property TopLevelOccurrences As IEnumerable(Of IOccurrenceSpecification)
IEnumerable<IOccurrenceSpecification> TopLevelOccurrences { get; }
property IEnumerable<IOccurrenceSpecification^>^ TopLevelOccurrences {
    IEnumerable<IOccurrenceSpecification^>^ get ();
}
abstract TopLevelOccurrences : IEnumerable<IOccurrenceSpecification>
function get TopLevelOccurrences () : IEnumerable<IOccurrenceSpecification>

屬性值

型別:System.Collections.Generic.IEnumerable<IOccurrenceSpecification>

.NET Framework 安全性

請參閱

參考

ILifeline 介面

Microsoft.VisualStudio.Uml.Interactions 命名空間