Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets the value of the specified property.
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Function GetValue(Of T) ( _
property As GraphProperty _
) As T
public T GetValue<T>(
GraphProperty property
)
public:
generic<typename T>
T GetValue(
GraphProperty^ property
)
member GetValue :
property:GraphProperty -> 'T
JScript does not support generic types or methods.
Type Parameters
- T
The type of data to return.
Parameters
property
Type: Microsoft.VisualStudio.GraphModel.GraphPropertyThe property you want to get the value of.
Return Value
Type: T
The value of the given property.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown if key is null. |
| InvalidOperationException | Thrown if property type does not match the given generic type. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.