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) |
Parameters
- o
- Object
- propName
- Name of property
- propVal
- Object containing value to compare
Return Value
true if value is the default; false otherwiseTarget Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2