SPFieldModStat.TextFieldValueFromValue Method
Returns the content approval status based on the specified value.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Shared Function TextFieldValueFromValue ( _
value As Object _
) As String
'Usage
Dim value As Object
Dim returnValue As String
returnValue = SPFieldModStat.TextFieldValueFromValue(value)
public static string TextFieldValueFromValue(
Object value
)
Parameters
value
Type: System.ObjectAn object that represents the value to convert.
Return Value
Type: System.String
A string that contains an SPModerationStatusType value that indicates the content approval status.