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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.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
- property
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty
- needsDeserialization
Type: Boolean%
Return Value
Type: 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.