CodeGenerationUtilities.GetPropertyDefaultValue 方法
傳回字串,用來宣告屬性的預設值 (以 "= defaultValue" 的形式
命名空間: Microsoft.VisualStudio.Modeling.DslDefinition
組件: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.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
)
參數
- needsDeserialization
類型:System.Boolean%
傳回值
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。