SPSchemaElement Constructor

Initializes a new instance of the SPSchemaElement class.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    displayName As String, _
    type As SPSchemaElementType _
)
'Usage
Dim name As String
Dim displayName As String
Dim type As SPSchemaElementType

Dim instance As New SPSchemaElement(name, displayName, _
    type)
public SPSchemaElement(
    string name,
    string displayName,
    SPSchemaElementType type
)

Parameters

  • name
    Type: System.String

    A string that contains the name of the field. Corresponds to the Name property.

  • displayName
    Type: System.String

    A string that contains the displayed text for the field. Corresponds to the DisplayName property.

See Also

Reference

SPSchemaElement Class

SPSchemaElement Members

Microsoft.SharePoint.WebControls Namespace