次の方法で共有


SPElementDefinition.ElementType property

Gets the type of the element.

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

Syntax

'Declaration
Public ReadOnly Property ElementType As String
    Get
'Usage
Dim instance As SPElementDefinition
Dim value As String

value = instance.ElementType
public string ElementType { get; }

Property value

Type: System.String
A string that identifies the element type, which can be, for example, ListTemplate, CustomAction, ContentType, Module, CustomActionGroup, Field, Workflow, or HideCustomAction.

Remarks

For information about the element types that are used in Features, see Element Types.

See also

Reference

SPElementDefinition class

SPElementDefinition members

Microsoft.SharePoint.Administration namespace