Partilhar via


Field Constructor (String, String)

NOTE: This API is now obsolete.

Initializes a new instance of the Field class based on the specified column name and column display name.

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

Syntax

'Declaration
<ObsoleteAttribute("Use the Lists web service instead.")> _
Public Sub New ( _
    name As String, _
    alias As String _
)
'Usage
Dim name As String
Dim alias As String

Dim instance As New Field(name, alias)
[ObsoleteAttribute("Use the Lists web service instead.")]
public Field(
    string name,
    string alias
)

Parameters

  • name
    Type: System.String

    A string that contains the name of the column.

  • alias
    Type: System.String

    A string that contains the display name of the column.

See Also

Reference

Field Class

Field Members

Field Overload

Microsoft.SharePoint.Dsp Namespace