다음을 통해 공유


CodeGenerationUtilities.GetPropertyDefaultValue Method

Returns the string to declare the default value of a property (in the form "= defaultValue"

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)

Syntax

'Declaration
Public Shared Function GetPropertyDefaultValue ( _
    property As DomainProperty, _
    <OutAttribute> ByRef needsDeserialization As Boolean _
) As String
public static string GetPropertyDefaultValue(
    DomainProperty property,
    out bool needsDeserialization
)
public:
static String^ GetPropertyDefaultValue(
    DomainProperty^ property, 
    [OutAttribute] bool% needsDeserialization
)
static member GetPropertyDefaultValue : 
        property:DomainProperty * 
        needsDeserialization:bool byref -> string
public static function GetPropertyDefaultValue(
    property : DomainProperty, 
    needsDeserialization : boolean
) : String

Parameters

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace