GraphObject.GetValueAsString Method

Returns the given property as a string that uses 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

  • culture
    Type: CultureInfo

    The culture you want to use for conversion to string.

Return Value

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

.NET Framework Security

See Also

Reference

GraphObject Class

Microsoft.VisualStudio.GraphModel Namespace