Condividi tramite


SPElementDefinition members

Serves as the base class for implementing element types within SharePoint Foundation.

The SPElementDefinition type exposes the following members.

Properties

  Name Description
Public property ElementType Gets the type of the element.
Public property FeatureDefinition Gets or sets the Feature definition to which the element definition belongs.
Public property Id Gets the ID of the element definition.
Protected property NamespaceManager Gets a namespace manager to use in XPath queries.
Public property UIVersion
Protected propertyStatic member WssPrefix Gets a SharePoint Foundation prefix to be used in XPath queries in conjunction with the Namespace Manager.
Public property XmlDefinition Gets or sets the element tree that is contained within the Element tag of the XML definition.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Protected method GetRootAttrAsInt32 Returns the value of the specified root attribute as an integer.
Protected method GetRootAttrAsPermissions Returns the value of the specified root attribute as a SharePoint Foundation permission.
Protected method GetRootAttrIsFalse Returns the value of the specified root attribute as a Boolean value.
Protected method GetRootAttrIsTrue Returns the value of the specified root attribute as a Boolean value.
Protected method GetRootAttrVal Returns the value of an attribute that is specified within the root element of the definition.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See also

Reference

SPElementDefinition class

Microsoft.SharePoint.Administration namespace