CodeGenerationUtilities.GetPropertyDefaultValue 方法

定义

返回一个字符串,该字符串用 "= defaultValue" 格式声明属性的默认值 (

public:
 static System::String ^ GetPropertyDefaultValue(Microsoft::VisualStudio::Modeling::DslDefinition::DomainProperty ^ property, [Runtime::InteropServices::Out] bool % needsDeserialization);
public static string GetPropertyDefaultValue (Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty property, out bool needsDeserialization);
static member GetPropertyDefaultValue : Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty * bool -> string
Public Shared Function GetPropertyDefaultValue (property As DomainProperty, ByRef needsDeserialization As Boolean) As String

参数

property
DomainProperty
needsDeserialization
Boolean

返回

String

适用于