Partager 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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

'Déclaration
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: System.String

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace