IGraphContext.HasValue Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Find out if the caller has passed in a value with the given name.
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Function HasValue ( _
name As String _
) As Boolean
bool HasValue(
string name
)
bool HasValue(
String^ name
)
abstract HasValue :
name:string -> bool
function HasValue(
name : String
) : boolean
Parameters
name
Type: System.StringThe key for the value.
Return Value
Type: System.Boolean
Returns true if the context contains a value for the given key.
.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.