Compartilhar via


SPFieldChoice constructor (SPFieldCollection, String)

Inicializa uma nova instância da classe SPFieldChoice com base no nome do campo e coleção do campo especificado.

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

Syntax

'Declaração
Public Sub New ( _
    fields As SPFieldCollection, _
    fieldName As String _
)
'Uso
Dim fields As SPFieldCollection
Dim fieldName As String

Dim instance As New SPFieldChoice(fields, _
    fieldName)
public SPFieldChoice(
    SPFieldCollection fields,
    string fieldName
)

Parâmetros

Ver também

Referência

SPFieldChoice class

SPFieldChoice members

SPFieldChoice overload

Microsoft.SharePoint namespace