指定したプロパティの値を取得し、そのプロパティ値の継承元であるカテゴリが存在する場合は、それを返します。
名前空間: Microsoft.VisualStudio.GraphModel
アセンブリ: Microsoft.VisualStudio.GraphModel (Microsoft.VisualStudio.GraphModel.dll 内)
構文
'宣言
Public Function GetValue(Of T) ( _
property As GraphProperty, _
schemaForInheritedProperties As Graph, _
<OutAttribute> ByRef category As GraphCategory _
) As T
public T GetValue<T>(
GraphProperty property,
Graph schemaForInheritedProperties,
out GraphCategory category
)
public:
generic<typename T>
T GetValue(
GraphProperty^ property,
Graph^ schemaForInheritedProperties,
[OutAttribute] GraphCategory^% category
)
member GetValue :
property:GraphProperty *
schemaForInheritedProperties:Graph *
category:GraphCategory byref -> 'T
JScript では、ジェネリックな型またはメソッドは使用できません。
型パラメーター
- T
返されるデータ型
パラメーター
- property
型: Microsoft.VisualStudio.GraphModel.GraphProperty
値を取得するプロパティ
- schemaForInheritedProperties
型: Microsoft.VisualStudio.GraphModel.Graph
このオブジェクトに関する追加のメタデータの取得元となるグラフ (または GraphSchema)。
- category
型: Microsoft.VisualStudio.GraphModel.GraphCategory%
プロパティ値の継承元のカテゴリ。継承されなかった場合は null
戻り値
型: T
指定したプロパティの値
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。