|
XmlExtensionsFormat Method
|
Formats the contents of an XML element and returns the result.
Namespace: GSF.XmlAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.319-beta+17d7b2e98a424c1340e89c273572ec8354341644
Syntax
Remarks
The format to be used is determined by the
type and
spec
attributes of the element. The
type attribute should be the fully
qualified type name of an
IFormattable type. The
spec
attribute defines the format string to be used when formatting the contents.
If
type or
spec are not defined or if
type resovles to
a type that is not
IFormattable, the contents are not formatted
and are returned as-is.
See Also