GraphObject.GetValueAsString(GraphProperty, CultureInfo) Method

Definition

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

C++
public:
 System::String ^ GetValueAsString(Microsoft::VisualStudio::GraphModel::GraphProperty ^ property, System::Globalization::CultureInfo ^ culture);

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

Produkt Versiounen
Visual Studio SDK 2017, 2019, 2022