GraphObject.GetValueAsString Method
Returns the given property as a string using the given culture.
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Function GetValueAsString ( _
property As GraphProperty, _
culture As CultureInfo _
) As String
public string GetValueAsString(
GraphProperty property,
CultureInfo culture
)
public:
String^ GetValueAsString(
GraphProperty^ property,
CultureInfo^ culture
)
member GetValueAsString :
property:GraphProperty *
culture:CultureInfo -> string
public function GetValueAsString(
property : GraphProperty,
culture : CultureInfo
) : String
Parameters
- property
Type: Microsoft.VisualStudio.GraphModel.GraphProperty
The property you want to get the value of
- culture
Type: System.Globalization.CultureInfo
The culture you want to use for conversion to string
Return Value
Type: System.String
The string representation of the value or String.Empty if the property was not set
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.