SPUsageProvider.TryGetValueOrDefault<T>-Methode
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Protected Shared Function TryGetValueOrDefault(Of T As New) ( _
col As String, _
parser As SPUsageProvider.TryParse(Of T) _
) As T
'Usage
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()
Typparameter
- T
Parameter
- col
Typ: System.String
- parser
Typ: Microsoft.SharePoint.Administration.SPUsageProvider.TryParse<T>
Rückgabewert
Typ: T