Web Members
Include Protected Members
Include Inherited Members
Represents a Microsoft SharePoint Foundation Web site.
The Web type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Web |
Top
Properties
Name | Description | |
---|---|---|
AllowDesignerForCurrentUser | Gets a value that specifies whether the current user is allowed to use a designer application to customize this site. | |
AllowMasterPageEditingForCurrentUser | Gets a value that specifies whether the current user is allowed to edit the master page. | |
AllowRevertFromTemplateForCurrentUser | Gets a value that specifies whether the current user is allowed to revert the site to a default site template. | |
AllowRssFeeds | Gets a value that specifies whether the site allows RSS feeds. | |
AllProperties | Gets a collection of metadata for the Web site. | |
AssociatedMemberGroup | ||
AssociatedOwnerGroup | ||
AssociatedVisitorGroup | ||
AvailableContentTypes | Gets the collection of all content types that apply to the current scope, including those of the current Web site, as well as any parent Web sites. | |
AvailableFields | Gets a value that specifies the collection of all fields available for the current scope, including those of the current site, as well as any parent sites. | |
ContentTypes | Gets the collection of content types for the Web site. | |
Context | Returns the context that is associated with the client object. (Inherited from ClientObject.) | |
Created | Gets a value that specifies when the site was created. | |
CurrentUser | Gets the current user of the site. | |
Description | Gets or sets the description for the site. | |
EffectiveBasePermissions | Gets a value that specifies the effective permissions that are assigned to the current user. | |
Features | Gets a value that specifies the collection of features that are currently activated in the site. | |
Fields | Gets the collection of field objects that represents all the fields in the Web site. | |
Folders | Gets the collection of all first-level folders in the Web site. | |
HasUniqueRoleAssignments | Gets a value that specifies whether the role assignments are uniquely defined for this securable object or inherited from a parent securable object. (Inherited from SecurableObject.) | |
Id | Gets a value that specifies the site identifier for the site. | |
Language | Gets a value that specifies the LCID for the language that is used on the site. | |
LastItemModifiedDate | Gets a value that specifies when an item was last modified in the site. | |
Lists | Gets the collection of all lists that are contained in the Web site available to the current user based on the current user’s permissions. | |
ListTemplates | Gets a value that specifies the collection of list definitions and list templates available for creating lists on the site. | |
Navigation | Gets a value that specifies the navigation structure on the site, including the Quick Launch area and the top navigation bar. | |
ObjectData | Gets the object data for the current client object. (Inherited from ClientObject.) | |
ObjectVersion | Gets a string that indicates the version of the current client object. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.) | |
Path | Tracks how a client object is created in the ClientRuntimeContext class, so that the object can be re-created on the server. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.) | |
QuickLaunchEnabled | Gets or sets a value that specifies whether the Quick Launch area is enabled on the site. | |
RecycleBinEnabled | Gets or sets a value that specifies whether the Recycle Bin is enabled. | |
RoleAssignments | Gets the role assignments for the securable object. (Inherited from SecurableObject.) | |
RoleDefinitions | Gets the collection of role definitions for the Web site. | |
RootFolder | Gets the root folder for the Web site. | |
ServerObjectIsNull | Gets the server object and returns null if the server object is null. (Inherited from ClientObject.) | |
ServerRelativeUrl | Gets or sets the server-relative URL for the Web site. | |
ShowUrlStructureForCurrentUser | Gets a value that specifies whether the current user is able to view the file system structure of this site. | |
SiteGroups | Gets the collection of groups for the site collection. | |
SiteUserInfoList | Gets the UserInfo list of the site collection that contains the Web site. | |
SyndicationEnabled | Gets or sets a value that specifies whether the RSS feeds are enabled on the site. | |
Tag | Gets or sets data that is associated with the client object. (Inherited from ClientObject.) | |
Title | Gets or sets the title for the Web site. | |
TreeViewEnabled | Gets or sets value that specifies whether the tree view is enabled on the site. | |
UIVersion | Gets or sets the user interface (UI) version of the Web site. | |
UIVersionConfigurationEnabled | Gets or sets a value that specifies whether the settings UI for visual upgrade is shown or hidden. | |
UserCustomActions | Gets a value that specifies the collection of user custom actions for the site. | |
Webs | Gets a Web site collection object that represents all Web sites immediately beneath the Web site, excluding children of those Web sites. | |
WorkflowAssociations | Gets a value that specifies the collection of all workflow associations for the site. | |
WorkflowTemplates | Gets a value that specifies the collection of workflow templates associated with the site. |
Top
Methods
Name | Description | |
---|---|---|
ApplyWebTemplate | ||
BreakRoleInheritance | Creates unique role assignments for the securable object. (Inherited from SecurableObject.) | |
CheckUninitializedProperty | Checks to determine whether the specified value type property of a ClientObject has been initialized. (Inherited from ClientObject.) | |
CustomFromJson | Returns a Boolean value that indicates whether custom code was used to populate an object. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.) | |
DeleteObject | Deletes the Web site. | |
DoesUserHavePermissions | Returns whether the current user has the given set of permissions. | |
EnsureUser | ||
FromJson | Indicates whether custom code was used to populate an object. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.) | |
GetAvailableWebTemplates | Returns a collection of site templates available for the site. | |
GetCatalog | Returns the list template gallery, site template gallery, or Web Part gallery for the site. | |
GetChanges | Returns the collection of all changes from the change log that have occurred within the scope of the site, based on the specified query. | |
GetFileByServerRelativeUrl | Returns the file object located at the specified server-relative URL. | |
GetFolderByServerRelativeUrl | Returns the folder object located at the specified server-relative URL. | |
GetSubwebsForCurrentUser | Returns the collection of child sites of the current site based on the specified query. | |
InitNonPropertyFieldFromJson | Initializes a non-property field of the client object based on JSON data from the server. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.) | |
InitOnePropertyFromJson | (Overrides SecurableObject.InitOnePropertyFromJson(String, JsonReader).) | |
IsObjectPropertyInstantiated | Indicates whether the specified property of the client object is instantiated. (Inherited from ClientObject.) | |
IsPropertyAvailable | Returns a Boolean value that indicates whether the specified scalar property has been retrieved or set. (Inherited from ClientObject.) | |
LoadExpandoFields | When overridden in a derived class, initializes the extended properties associated with the client object. (Inherited from ClientObject.) | |
MapToIcon | Returns the name of the image file for the icon that is used to represent the specified file. | |
RefreshLoad | Reloads all scalar properties associated with the client object when overridden in a derived class. (Inherited from ClientObject.) | |
RemoveFromParentCollection | Removes the current client object from the parent client object collection. (Inherited from ClientObject.) | |
ResetRoleInheritance | Resets the role inheritance for the securable object and inherits role assignments from the parent securable object. (Inherited from SecurableObject.) | |
Retrieve() | Retrieves all scalar properties associated with the object. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.) | |
Retrieve([]) | Retrieves the specified scalar properties associated with the object. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.) | |
ToString | (Inherited from Object.) | |
Update | Updates the database with changes that are made to the Web site. | |
WebUrlFromPageUrlDirect |
Top