Share via


DateOptions.GetMonthYearString method

Returns a string representation of the month and year of the specified date.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function GetMonthYearString ( _
    simpleDate As SimpleDate _
) As String
'Usage
Dim instance As DateOptions
Dim simpleDate As SimpleDate
Dim returnValue As String

returnValue = instance.GetMonthYearString(simpleDate)
public string GetMonthYearString(
    SimpleDate simpleDate
)

Parameters

Return value

Type: System.String
A string that contains the month and year.

See also

Reference

DateOptions class

DateOptions members

Microsoft.SharePoint.Utilities namespace