获取指定属性的值,也可以返回此属性值被继承的分类(如果有的话)。
命名空间:  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%
继承其属性值的类别或未继承为空的类别 
返回值
类型:T
给定属性的值。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。