Spread ASP.NET 6.0 Product Documentation
IsDefaultValue Method
See Also  Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > Serializer Class : IsDefaultValue Method


o
Object
propName
Name of property
propVal
Object containing value to compare

Glossary Item Box

Determines if the value of a specified property of an object is the default value.

Syntax

Visual Basic (Declaration) 
Public Shared Function IsDefaultValue( _
   ByVal o As Object, _
   ByVal propName As String, _
   ByVal propVal As Object _
) As Boolean
Visual Basic (Usage)Copy Code
Dim o As Object
Dim propName As String
Dim propVal As Object
Dim value As Boolean
 
value = Serializer.IsDefaultValue(o, propName, propVal)
C# 
public static bool IsDefaultValue( 
   object o,
   string propName,
   object propVal
)

Parameters

o
Object
propName
Name of property
propVal
Object containing value to compare

Return Value

true if value is the default; false otherwise

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.