Delen via


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

Return Value

Type: System.Boolean
Returns true if the context contains a value for the given key.

.NET Framework Security

See Also

Reference

IGraphContext Interface

Microsoft.VisualStudio.GraphModel Namespace