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)
Syntax
'Declaration
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)
public string GetYearString(
SimpleDate simpleDate
)
Parameters
simpleDate
Type: Microsoft.SharePoint.Utilities.SimpleDateThe SimpleDate value to evaluate.
Return value
Type: System.String
A string that contains the year.