Partilhar via


CodeGenerationUtilities.GetPropertyDefaultValue Method

Definition

Returns the string to declare the default value of a property (in the form "= 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

Parameters

property
DomainProperty
needsDeserialization
Boolean

Returns

Applies to