Aracılığıyla paylaş


GraphObject.GetValue<T> Yöntem (GraphProperty, Graph)

Belirtilen özellik değerini alır.

Ad alanı:  Microsoft.VisualStudio.GraphModel
Derleme:  Microsoft.VisualStudio.GraphModel (Microsoft.VisualStudio.GraphModel.dll içinde)

Sözdizimi

'Bildirim
Public Function GetValue(Of T) ( _
    property As GraphProperty, _
    owner As Graph _
) As T
public T GetValue<T>(
    GraphProperty property,
    Graph owner
)
public:
generic<typename T>
T GetValue(
    GraphProperty^ property, 
    Graph^ owner
)
member GetValue : 
        property:GraphProperty * 
        owner:Graph -> 'T 
JScript genel türleri veya yöntemleri desteklemez.

Tür Parametreleri

  • T
    Döndürülecek veri türü.

Parametreler

Dönüş Değeri

Tür: T
Belirtilen özellik değeri.

Özel Durumlar

Exception Koşul
ArgumentNullException

Anahtar null ise oluşturuldu.

InvalidOperationException

Özellik türü verilen genel tür eşleşmezse oluşturuldu.

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

GraphObject Sınıf

GetValue Fazla Yük

Microsoft.VisualStudio.GraphModel Ad Alanı