Share via


SPElementDefinition.XmlDefinition property

Gets or sets the element tree that is contained within the Element tag of the XML definition.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property XmlDefinition As XmlNode
    Get
    Friend Set
'Usage
Dim instance As SPElementDefinition
Dim value As XmlNode

value = instance.XmlDefinition
public XmlNode XmlDefinition { get; internal set; }

Property value

Type: System.Xml.XmlNode
A System.Xml.XmlNode object that represents the element tree that is contained within the Element tag, such as the following:

<ListTemplate Name="workflowProcess" Type="118" BaseType="0" Hidden="TRUE" HiddenList="TRUE" OnQuickLaunch="FALSE" SecurityBits="11" DisplayName="Custom Workflow Process" Description="Custom Workflow Process tracking list for this web." Image="/_layouts/images/itgen.gif" xmlns="https://schemas.microsoft.com/sharepoint/" />

See also

Reference

SPElementDefinition class

SPElementDefinition members

Microsoft.SharePoint.Administration namespace