Compartilhar via


CommonUtility.TryGetField Method

Namespace:  Microsoft.Office.Server.Utilities
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

Syntax

'Declaration
Public Shared Function TryGetField ( _
    fields As SPFieldCollection, _
    fieldId As Guid _
) As SPField
'Usage
Dim fields As SPFieldCollection
Dim fieldId As Guid
Dim returnValue As SPField

returnValue = CommonUtility.TryGetField(fields, _
    fieldId)
public static SPField TryGetField(
    SPFieldCollection fields,
    Guid fieldId
)

Parameters

Return Value

Type: Microsoft.SharePoint.SPField
Returns SPField.

See Also

Reference

CommonUtility Class

CommonUtility Members

Microsoft.Office.Server.Utilities Namespace