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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'宣告
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: System.Boolean%
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.