Share via


GraphSchema.FindPropertyByLabel Method

Gets the first GraphProperty with the specified label from this schema or any subschema.

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

Syntax

'Declaration
Public Function FindPropertyByLabel ( _
    label As String _
) As GraphProperty
public GraphProperty FindPropertyByLabel(
    string label
)
public:
GraphProperty^ FindPropertyByLabel(
    String^ label
)
member FindPropertyByLabel : 
        label:string -> GraphProperty
public function FindPropertyByLabel(
    label : String
) : GraphProperty

Parameters

  • label
    Type: String

Return Value

Type: Microsoft.VisualStudio.GraphModel.GraphProperty
The first property that has the given label. Null if no property was found.

.NET Framework Security

See Also

Reference

GraphSchema Class

Microsoft.VisualStudio.GraphModel Namespace