Mono Class Library: System.Globalization.DateTimeFormatInfo Overview | MembersSystem.Globalization.DateTimeFormatInfo.Clone Method |
Creates a copy of the current instance. [Edit]
|
A new System.Globalization.DateTimeFormatInfo instance with property values equal to the property values of the original System.Globalization.DateTimeFormatInfo instance. [Edit]
The DateTimeFormatInfo.Clone method creates a new instance of the same type as the current instance, and then copies the contents of each of the current instance's non-static fields.
The new instance is not read-only, and its properties can be modified with user-defined patterns.
Note: This method is implemented to support the ICloneable interface.[Edit]
Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0