Compartilhar via


SPPersistedObjectCollection<T>.GetValue<U> method

Recupera um objeto da coleção com o tipo especificado e o nome padrão.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaração
Public Function GetValue(Of U As SPPersistedObject) As U
'Uso
Dim instance As SPPersistedObjectCollection
Dim returnValue As U

returnValue = instance.GetValue()
public U GetValue<U>()
where U : SPPersistedObject

Type parameters

  • U
    O tipo de objeto a ser recuperado.

Valor retornado

Type: U
O objeto, se ele existir. Caso contrário, a null reference (Nothing in Visual Basic).

Ver também

Referência

SPPersistedObjectCollection<T> class

SPPersistedObjectCollection<T> members

GetValue overload

Microsoft.SharePoint.Administration namespace