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.
Returns the value of the specified Boolean field.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Shared Function GetBooleanFieldValue ( _
item As SPItem, _
fieldName As String _
) As Boolean
'Usage
Dim item As SPItem
Dim fieldName As String
Dim returnValue As Boolean
returnValue = SPMobileUtility.GetBooleanFieldValue(item, _
fieldName)
public static bool GetBooleanFieldValue(
SPItem item,
string fieldName
)
Parameters
item
Type: Microsoft.SharePoint.SPItemAn SPItem object that represents the data transport item of the mobile Web application.
fieldName
Type: System.StringA string that contains the name of the field.
Return Value
Type: System.Boolean
The Boolean field value.