Share via


GraphObject.HasValue Method (String)

Find out whether the object has a value for the specified property.

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

Syntax

'Declaration
Public Function HasValue ( _
    propertyId As String _
) As Boolean
public bool HasValue(
    string propertyId
)
public:
bool HasValue(
    String^ propertyId
)
member HasValue : 
        propertyId:string -> bool
public function HasValue(
    propertyId : String
) : boolean

Parameters

  • propertyId
    Type: String

    Property name.

Return Value

Type: Boolean
True if the object has a value for the given property.

.NET Framework Security

See Also

Reference

GraphObject Class

HasValue Overload

Microsoft.VisualStudio.GraphModel Namespace