del método SPUsageProvider.TryGetValueOrDefault<T>
Espacio de nombres: Microsoft.SharePoint.Administration
Ensamblado: Microsoft.SharePoint (en Microsoft.SharePoint.dll)
Sintaxis
'Declaración
Protected Shared Function TryGetValueOrDefault(Of T As New) ( _
col As String, _
parser As SPUsageProvider.TryParse(Of T) _
) As T
'Uso
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()
Parámetros de tipo
- T
Parámetros
- col
Tipo: System.String
- parser
Tipo: Microsoft.SharePoint.Administration.SPUsageProvider.TryParse<T>
Valor devuelto
Tipo: T