Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Converts the specified value into a field type value.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Overridable Function GetFieldValue ( _
value As String _
) As Object
'Usage
Dim instance As SPField
Dim value As String
Dim returnValue As Object
returnValue = instance.GetFieldValue(value)
public virtual Object GetFieldValue(
string value
)
Parameters
value
Type: System.StringThe value to convert into a field type value.
Return Value
Type: System.Object
The field type value.
Remarks
Use this method to convert the field type to a complex data type that differs from that of the parent field type. In a custom type-specific class, override this method to convert; for example, a URL field value in URL, or a Description format into an SPFieldUrlValue object. For more information about field value objects, see How to: Create a Custom Field Value Class.