SPUsageProvider.TryGetValueOrDefault<T> - Méthode
Espace de noms : Microsoft.SharePoint.Administration
Assembly : Microsoft.SharePoint (dans Microsoft.SharePoint.dll)
Syntaxe
'Déclaration
Protected Shared Function TryGetValueOrDefault(Of T As New) ( _
col As String, _
parser As SPUsageProvider.TryParse(Of T) _
) As T
'Utilisation
Dim col As String
Dim parser As SPUsageProvider.TryParse(Of T)
Dim returnValue As T
returnValue = SPUsageProvider.TryGetValueOrDefault(col, _
parser)
protected static T TryGetValueOrDefault<T>(
string col,
SPUsageProvider.TryParse<T> parser
)
where T : new()
Paramètres de type
- T
Paramètres
- col
Type : System.String
- parser
Type : Microsoft.SharePoint.Administration.SPUsageProvider.TryParse<T>
Valeur renvoyée
Type : T