GraphObject.GetValueAsString(GraphProperty, CultureInfo) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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