This documentation is archived and is not being maintained.

SPFieldCollection.GetFieldByInternalName Method

Windows SharePoint Services 3

Returns the field with the specified internal name from the collection.

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

public SPField GetFieldByInternalName(
	string strName


Type: System.String
A string that specifies the internal name of the field.

Return Value

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