DateOptions.GetMonthNames Method (SimpleDate)
Returns the month names used to display 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 GetMonthNames ( _
dt As SimpleDate _
) As String()
'Usage
Dim instance As DateOptions
Dim dt As SimpleDate
Dim returnValue As String()
returnValue = instance.GetMonthNames(dt)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.Struct)]
public string[] GetMonthNames(
SimpleDate dt
)
Parameters
dt
Type: Microsoft.SharePoint.Utilities.SimpleDateThe SimpleDate value to evaluate.
Return Value
Type: []
A string array that contains the month names.