GetDateTimeFormats Method (Char, IFormatProvider)
[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]
Namespace: System
Assembly: System.Dataflow (in System.Dataflow.dll)
Syntax
'Declaration
PublicFunctionGetDateTimeFormats ( _
formatAsChar, _
providerAsIFormatProvider _
) AsString()
'Usage
DiminstanceAsDateDimformatAsCharDimproviderAsIFormatProviderDimreturnValueAsString()
returnValue = instance.GetDateTimeFormats(format, _
provider)
publicstring[] GetDateTimeFormats(
charformat,
IFormatProviderprovider
)
public:
array<String^>^ GetDateTimeFormats(
wchar_tformat,
IFormatProvider^ provider
)
publicfunctionGetDateTimeFormats(
format : char,
provider : IFormatProvider
) : String[]
Parameters
- format
Type: System. . :: . .Char
- provider
Type: System. . :: . .IFormatProvider
Return Value
Type: array<System. . :: . .String> [] () [] []
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see https://msdn.microsoft.com/en-us/library/8skskf63(v=vs.85).