Spread for ASP.NET 9.0 Product Documentation
IsDefaultValue Method


Object
Name of property
Object that contains the value to compare
Determines if the value of a specified property of an object is the default value.
Syntax
'Declaration
 
Public Shared Function IsDefaultValue( _
   ByVal o As Object, _
   ByVal propName As String, _
   ByVal propVal As Object _
) As Boolean
'Usage
 
Dim o As Object
Dim propName As String
Dim propVal As Object
Dim value As Boolean
 
value = Serializer.IsDefaultValue(o, propName, propVal)
public static bool IsDefaultValue( 
   object o,
   string propName,
   object propVal
)

Parameters

o
Object
propName
Name of property
propVal
Object that contains the value to compare

Return Value

true if value is the default; false otherwise
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

Serializer Class
Serializer Members

 

 


Copyright © GrapeCity, inc. All rights reserved.