CommonUtility.TryGetField - Méthode
Espace de noms : Microsoft.Office.Server.Utilities
Assembly : Microsoft.Office.Server (dans Microsoft.Office.Server.dll)
Syntaxe
'Déclaration
Public Shared Function TryGetField ( _
fields As SPFieldCollection, _
fieldId As Guid _
) As SPField
'Utilisation
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
)
Paramètres
- fields
Type : Microsoft.SharePoint.SPFieldCollection
- fieldId
Type : System.Guid
Valeur renvoyée
Type : Microsoft.SharePoint.SPField
Cette propriété renvoie SPField.