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
name
Type: System.StringThe key of the value.
Return Value
Type: T
Returns the value or default(T)"/>
.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.