CodeGenerationUtilities.GetPropertyDefaultValue 方法

返回字符串声明属性的默认值 (窗体 “=” defaultValue

命名空间:  Microsoft.VisualStudio.Modeling.DslDefinition
程序集:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll 中)

语法

声明
Public Shared Function GetPropertyDefaultValue ( _
    property As DomainProperty, _
    <OutAttribute> ByRef needsDeserialization As Boolean _
) As String
public static string GetPropertyDefaultValue(
    DomainProperty property,
    out bool needsDeserialization
)

参数

返回值

类型:System.String

.NET Framework 安全性

请参见

参考

CodeGenerationUtilities 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间