Share via


ParseExact Method (String, String[], IFormatProvider, DateTimeStyles)

[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
PublicSharedFunctionParseExact ( _
    dateAsString, _
    formatsAsString(), _
    providerAsIFormatProvider, _
    styleAsDateTimeStyles _
) AsDate
'Usage
DimdateAsStringDimformatsAsString()
DimproviderAsIFormatProviderDimstyleAsDateTimeStylesDimreturnValueAsDatereturnValue = Date.ParseExact(date, _
    formats, provider, style)
publicstaticDateParseExact(
    stringdate,
    string[] formats,
    IFormatProviderprovider,
    DateTimeStylesstyle
)
public:
staticDateParseExact(
    String^ date, 
    array<String^>^ formats, 
    IFormatProvider^ provider, 
    DateTimeStylesstyle
)
publicstaticfunctionParseExact(
    date : String, 
    formats : String[], 
    provider : IFormatProvider, 
    style : DateTimeStyles
) : Date

Parameters

Return Value

Type: System. . :: . .Date

.NET Framework Security

See Also

Reference

Date Structure

Date Members

ParseExact Overload

System Namespace