共用方式為


SPMobileContext Members

Include Protected Members
Include Inherited Members

Provides information about the current context that is needed for interaction between mobile devices and SharePoint Foundation Web sites.

The SPMobileContext type exposes the following members.

Properties

  Name Description
Public property ControlMode Gets the control mode of the current page or form: Display, New, or Edit.
Public property CurrentFolder Gets the current folder.
Public property CurrentFolderUrl Gets the URL of the current folder.
Public property IsForm Gets a value that indicates whether the current page is one of the three basic types of forms: Display, New, or Edit.
Public property IsInSubFolder Gets a value that indicates whether the current folder has a parent folder.
Public property IsView Gets a value that indicates whether the current page is a list view page, instead of a form.
Public property MarkupLanguage Gets or sets the name of the markup language used by the mobile device.
Public property PageType Gets a value that specifies the type of page.
Protected property ParentHttpContext Gets the current HTTP request context.
Protected property ParentSPContext Gets the SPContext object that has this SPMobileContext object as its MobileContext property.
Public property RootFolderUrl Gets the URL of the highest contain folder for the current list item.
Public property View Gets the current mobile view of the list that contains the current list item.
Public property ViewId Gets the identifier of the current mobile view of the current list item.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See Also

Reference

SPMobileContext Class

Microsoft.SharePoint Namespace