UmlExtensions.GetReferences Yöntem
Bu öğeyle ilişkili IReferences belirli bir etikete alın.
Ad alanı: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Derleme: Microsoft.VisualStudio.ArchitectureTools.Extensibility (Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll içinde)
Sözdizimi
'Bildirim
<ExtensionAttribute> _
Public Shared Function GetReferences ( _
element As IElement, _
name As String _
) As IEnumerable(Of IReference)
public static IEnumerable<IReference> GetReferences(
this IElement element,
string name
)
[ExtensionAttribute]
public:
static IEnumerable<IReference^>^ GetReferences(
IElement^ element,
String^ name
)
static member GetReferences :
element:IElement *
name:string -> IEnumerable<IReference>
public static function GetReferences(
element : IElement,
name : String
) : IEnumerable<IReference>
Parametreler
- element
Tür: Microsoft.VisualStudio.Uml.Classes.IElement
- name
Tür: System.String
Etiket adını almak için IReferences.
Dönüş Değeri
Tür: System.Collections.Generic.IEnumerable<IReference>
Kullanım Notu
Visual Basic ve C# programlarında, bu yöntemi IElement türündeki herhangi bir nesne üzerinde örnek yöntemi olarak çağırabilirsiniz. Bu yöntemi çağırmak için örnek yöntemi sözdizimini kullandığınızda, ilk parametreyi yok sayın. Daha fazla bilgi için bkz. Uzantı yöntemleri (Visual Basic) veya Uzantı yöntemleri (C# Programlama Kılavuzu).
.NET Framework Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. Kısmen güvenilen kod kitaplıklarını kullanma.
Ayrıca bkz.
Başvuru
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Ad Alanı