SPFieldModStat.TextFieldValueFromValue method

Returns the content approval status based on the specified value.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

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.Object

    An 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.

See also

Reference

SPFieldModStat class

SPFieldModStat members

Microsoft.SharePoint namespace