Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SPField.GetFieldValue method

Converts the specified value into a field type value.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public virtual Object GetFieldValue(
	string value
)

Parameters

value
Type: System.String

The value to convert into a field type value.

Return value

Type: System.Object
The field type value.

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 Custom Field Value Classes.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.