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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.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
- property
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty
Return Value
Type: System.String
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.