Condividi tramite


SPCalendarViewStyleCollection Members

Include Protected Members
Include Inherited Members

Represents a collection of SPCalendarViewStyle objects.

The SPCalendarViewStyleCollection type exposes the following members.

Constructors

  Name Description
Public method SPCalendarViewStyleCollection(SPWeb, SPView) Obsolete. Use the SPCalendarViewStyleCollection(SPWeb, SPView, Boolean) constructor instead.
Public method SPCalendarViewStyleCollection(SPWeb, SPView, Boolean) Initializes a new instance of the SPCalendarViewStyleCollection class.

Top

Properties

  Name Description
Public property CalendarViewStyleXmlNode Gets the schema for the custom calendar view style.
Public property Count Gets the number of calendar view styles in the collection. (Overrides SPBaseCollection.Count.)
Public property DefaultViewStyle Gets the default calendar view style from the collection.
Public property DefaultViewStylesEnabled Gets or sets a Boolean value that specifies whether to display the default day, week, and month view styles in the view style picker control.
Public property Item[Int32] Gets the calendar view style object at the specified index in the collection.
Public property Item[String] Gets the calendar view style with the specified template name in the collection.
Public property UpgradedPersistedProperties (Inherited from SPAutoSerializingObject.)
Public property View Gets the view that is associated with the collection of calendar view styles.

Top

Methods

  Name Description
Public method CalendarViewStyleByName Returns the calendar view style with the specified display name.
Public method CalendarViewStyleByType Returns the calendar view style of the specified type.
Public method CopyTo Copies the elements of the collection to an array of SPCalendarViewStyle objects, starting at a specified array index.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Gets an enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
Public method GetTypedEnumerator<T> Returns a type-safe enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization (Inherited from SPAutoSerializingObject.)
Public method ToString (Inherited from Object.)
Protected method UpdateParent (Inherited from SPAutoSerializingObject.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICollection.CopyTo Copies the elements of the collection to an array, starting at the specified array index. (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.IsSynchronized Gets a Boolean value that indicates whether access to the collection is synchronized or thread-safe. (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.SyncRoot Gets an object that is used to synchronize access to the collection. (Inherited from SPBaseCollection.)

Top

See Also

Reference

SPCalendarViewStyleCollection Class

Microsoft.SharePoint Namespace