ModelPropertyClass.IsDefault Method
Returns a value that indicates whether the given value is the default value.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Function IsDefault ( _
propertyValue As Object _
) As Boolean
public bool IsDefault(
Object propertyValue
)
public:
bool IsDefault(
Object^ propertyValue
)
member IsDefault :
propertyValue:Object -> bool
public function IsDefault(
propertyValue : Object
) : boolean
Parameters
- propertyValue
Type: System.Object
A value whose type matches the PropertyType property.
Return Value
Type: System.Boolean
true if the propertyValue is the default value; otherwise, false.
.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.