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
property
Type: Microsoft.VisualStudio.GraphModel.GraphPropertyThe property you want to get the value of.
culture
Type: CultureInfoThe 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
- 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.