SPFieldGeolocation.ValidateAndParseValue method
Valida o valor do campo potencial e retorna um objeto analisado.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaração
Public Overrides Function ValidateAndParseValue ( _
item As SPListItem, _
value As String _
) As Object
'Uso
Dim instance As SPFieldGeolocation
Dim item As SPListItem
Dim value As String
Dim returnValue As Object
returnValue = instance.ValidateAndParseValue(item, _
value)
public override Object ValidateAndParseValue(
SPListItem item,
string value
)
Parâmetros
item
Type: Microsoft.SharePoint.SPListItemUm campo cujo valor precisa ser validado.
value
Type: System.StringO valor do campo a ser validado.
Valor retornado
Type: System.Object
Um valor de campo analisada para o campo de localização geográfica.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Lançada quando o parâmetro item é a null reference (Nothing in Visual Basic). |