SPMobileGeolocationFieldValidator.Validate 方法
验证
命名空间: Microsoft.SharePoint.Mobile.WebControls
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Overrides Sub Validate
用法
Dim instance As SPMobileGeolocationFieldValidator
instance.Validate()
public override void Validate()
实现
备注
此重写验证用户界面中的值格式正确无误,为地理位置。如果的值为无效,IsValid 属性设置为 false,适当的消息分配给 ErrorMessage 属性。此方法验证在 UI 中,不是 SPFieldGeolocation 对象的字段属性中的值的值。如果用户已更改的值并不会保存它,将不同于 SPField 对象中的字段属性的值在用户界面中字段的值
另请参阅
引用
SPMobileGeolocationFieldValidator 类