다음을 통해 공유


DateOptions.GetYearString Method

Returns a string representation of the 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 GetYearString ( _
    simpleDate As SimpleDate _
) As String
'Usage
Dim instance As DateOptions
Dim simpleDate As SimpleDate
Dim returnValue As String

returnValue = instance.GetYearString(simpleDate)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.Struct)]
public string GetYearString(
    SimpleDate simpleDate
)

Parameters

Return Value

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

See Also

Reference

DateOptions Class

DateOptions Members

Microsoft.SharePoint.Utilities Namespace