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.StringA string that contains the name of the field. Corresponds to the Name property.
displayName
Type: System.StringA string that contains the displayed text for the field. Corresponds to the DisplayName property.
type
Type: Microsoft.SharePoint.WebControls.SPSchemaElementTypeA SPSchemaElementType that indicates where this field should appear. Corresponds to the Type