Partager via


GraphObject.GetValueAsString(GraphProperty, CultureInfo) Method

Definition

Returns the given property as a string using the given culture.

public:
 System::String ^ GetValueAsString(Microsoft::VisualStudio::GraphModel::GraphProperty ^ property, System::Globalization::CultureInfo ^ culture);
public string GetValueAsString (Microsoft.VisualStudio.GraphModel.GraphProperty property, System.Globalization.CultureInfo culture);
member this.GetValueAsString : Microsoft.VisualStudio.GraphModel.GraphProperty * System.Globalization.CultureInfo -> string
Public Function GetValueAsString (property As GraphProperty, culture As CultureInfo) As String

Parameters

property
GraphProperty

The property you want to get the value of

culture
CultureInfo

The culture you want to use for conversion to string

Returns

The string representation of the value or String.Empty if the property was not set

Applies to