Compartilhar via


GetField Method

The GetField method of the SPFieldCollection class returns the field with the specified display name from the collection.

Parameters

strName   A string that specifies the name of the field.

Return Value

A Microsoft.SharePoint.SPField object that represents the field.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security