DateOptions.ParseMonthDayDate Method
Returns a SimpleDate object as an output parameter that represents the specified date string and uses the current MonthDayPattern format.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.Struct)> _
Public Function ParseMonthDayDate ( _
inputDate As String, _
<OutAttribute> ByRef selectedDate As SimpleDate _
) As Boolean
'Usage
Dim instance As DateOptions
Dim inputDate As String
Dim selectedDate As SimpleDate
Dim returnValue As Boolean
returnValue = instance.ParseMonthDayDate(inputDate, _
selectedDate)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.Struct)]
public bool ParseMonthDayDate(
string inputDate,
out SimpleDate selectedDate
)
Parameters
inputDate
Type: System.StringA string that contains the date to parse.
selectedDate
Type: Microsoft.SharePoint.Utilities.SimpleDateThe SimpleDate object to return as an output parameter.
Return Value
Type: System.Boolean
Returns Boolean.