GoXam for WPF v3
Attribute(XName,DateTime,DateTime) Method
Northwoods.GoXam.Model Namespace > XHelper Class > Attribute Method : Attribute(XName,DateTime,DateTime) Method
the attribute name, often the same as the data's property name
the property value
the default value for the property
Generate an XAttribute for a DateTime value, unless the value is equal to the given default value.
Syntax
public static XAttribute Attribute( 
   XName n,
   DateTime v,
   DateTime defval
)

Parameters

n
the attribute name, often the same as the data's property name
v
the property value
defval
the default value for the property

Return Value

an XAttribute or null
See Also

Reference

XHelper Class
XHelper Members
Overload List