Share via


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

Return Value

Type: System.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