GenericExtensionsToResourceManagementServiceDateFormat Method (DateTime) |
Converts a date time to the ISO 8601 date string required by the Resource Management Service
Namespace: Lithnet.MetadirectoryServicesAssembly: Lithnet.MetadirectoryServices (in Lithnet.MetadirectoryServices.dll) Version: 1.0.6017.24765
Syntax public static string ToResourceManagementServiceDateFormat(
this DateTime dateTime
)
<ExtensionAttribute>
Public Shared Function ToResourceManagementServiceDateFormat (
dateTime As DateTime
) As String
public:
[ExtensionAttribute]
static String^ ToResourceManagementServiceDateFormat(
DateTime dateTime
)
Parameters
- dateTime
- Type: SystemDateTime
The date and time to convert
Return Value
Type:
StringAn ISO 8601 date format string
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
DateTime. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also