Dela via


IGraphContext.GetValue<T> Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Retrieves a value that the caller has passed in.

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

Syntax

'Declaration
Function GetValue(Of T) ( _
    name As String _
) As T
T GetValue<T>(
    string name
)
generic<typename T>
T GetValue(
    String^ name
)
abstract GetValue : 
        name:string -> 'T 
JScript does not support generic types or methods.

Type Parameters

  • T
    The expected type of the value.

Parameters

Return Value

Type: T
Returns the value or default(T)"/>

.NET Framework Security

See Also

Reference

IGraphContext Interface

Microsoft.VisualStudio.GraphModel Namespace