Share via


CodeGenerationUtilities.GetPropertyDefaultValueAttribute Method

Gets the string for the constructor of the System.ComponentModel.DefaultValueAttribute.

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

Syntax

'Declaration
Public Shared Function GetPropertyDefaultValueAttribute ( _
    property As DomainProperty _
) As String
public static string GetPropertyDefaultValueAttribute(
    DomainProperty property
)
public:
static String^ GetPropertyDefaultValueAttribute(
    DomainProperty^ property
)
static member GetPropertyDefaultValueAttribute : 
        property:DomainProperty -> string
public static function GetPropertyDefaultValueAttribute(
    property : DomainProperty
) : String

Parameters

Return Value

Type: String

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace