Dela via


IGraphContext.HasValue Method

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: String

    The key for the value.

Return Value

Type: 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