Condividi tramite


SPFieldMultiChoice.GetFieldValue Method

Returns the specified value as a multichoice field value.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Overrides Function GetFieldValue ( _
    value As String _
) As Object
'Usage
Dim instance As SPFieldMultiChoice
Dim value As String
Dim returnValue As Object

returnValue = instance.GetFieldValue(value)
public override Object GetFieldValue(
    string value
)

Parameters

  • value
    Type: System.String

    The value that is converted into a multichoice field type value.

Return Value

Type: System.Object
The multichoice field type value.

Remarks

This override returns null if the value is null or an empty string; otherwise, this override returns a new SPFieldMultiColumnValue object initialized with the value of value.

See Also

Reference

SPFieldMultiChoice Class

SPFieldMultiChoice Members

Microsoft.SharePoint Namespace