Partager via


ElementCollectionBase<ElementCollectionType, ElementType>.IndexOfGuidSafe - Méthode

Renvoie l'objet spécifié.

Espace de noms :  Microsoft.PerformancePoint.Scorecards
Assembly :  Microsoft.PerformancePoint.Scorecards.Client (dans Microsoft.PerformancePoint.Scorecards.Client.dll)

Syntaxe

'Déclaration
Public Function IndexOfGuidSafe ( _
    guid As Guid _
) As ElementType
'Utilisation
Dim instance As ElementCollectionBase
Dim guid As Guid
Dim returnValue As ElementType

returnValue = instance.IndexOfGuidSafe(guid)
public ElementType IndexOfGuidSafe(
    Guid guid
)

Paramètres

  • guid
    Type : System.Guid

    Le GUID de l'objet à renvoyer.

Valeur renvoyée

Type : ElementType
L'objet avec le GUID spécifié, s'il existe ; dans le cas contraire une référence Null (Rien dans Visual Basic).

Voir aussi

Référence

ElementCollectionBase<ElementCollectionType, ElementType> classe

ElementCollectionBase<ElementCollectionType, ElementType> - Membres

Microsoft.PerformancePoint.Scorecards - Espace de noms