SPFieldMultiChoice.GetFieldValue method

Returns the specified value as a multichoice field value.

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

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