GraphObject.GetValueAsString 方法

返回给定属性作为使用特定区域性的字符串。

命名空间:  Microsoft.VisualStudio.GraphModel
程序集:  Microsoft.VisualStudio.GraphModel(在 Microsoft.VisualStudio.GraphModel.dll 中)

语法

声明
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

参数

返回值

类型:System.String
值或字符串的字符串表示形式。如果属性未设置,则为。

.NET Framework 安全性

请参见

参考

GraphObject 类

Microsoft.VisualStudio.GraphModel 命名空间