SPField.GetFieldValue method
Converte o valor especificado em um valor de tipo de campo.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaração
Public Overridable Function GetFieldValue ( _
value As String _
) As Object
'Uso
Dim instance As SPField
Dim value As String
Dim returnValue As Object
returnValue = instance.GetFieldValue(value)
public virtual Object GetFieldValue(
string value
)
Parâmetros
value
Type: System.StringO valor a ser convertido em um valor de tipo de campo.
Valor retornado
Type: System.Object
O valor do tipo de campo.
Comentários
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.