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)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.Struct)> _
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)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.Struct)]
public string GetMonthYearString(
SimpleDate simpleDate
)
Parameters
simpleDate
Type: Microsoft.SharePoint.Utilities.SimpleDateThe SimpleDate value to evaluate.
Return Value
Type: System.String
A string that contains the month and year.