共用方式為


GraphSchema.FindPropertyByLabel(String) Method

Definition

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

public:
 Microsoft::VisualStudio::GraphModel::GraphProperty ^ FindPropertyByLabel(System::String ^ label);
public Microsoft.VisualStudio.GraphModel.GraphProperty FindPropertyByLabel (string label);
member this.FindPropertyByLabel : string -> Microsoft.VisualStudio.GraphModel.GraphProperty
Public Function FindPropertyByLabel (label As String) As GraphProperty

Parameters

label
String

Returns

The first property with the given label. Null if no property was found.

Applies to