다음을 통해 공유


ElementCollectionBase<ElementCollectionType, ElementType>.IndexOfGuidSafe Method

Returns the specified object.

Namespace:  Microsoft.PerformancePoint.Scorecards
Assembly:  Microsoft.PerformancePoint.Scorecards.Client (in Microsoft.PerformancePoint.Scorecards.Client.dll)

Syntax

'Declaration
Public Function IndexOfGuidSafe ( _
    guid As Guid _
) As ElementType
'Usage
Dim instance As ElementCollectionBase
Dim guid As Guid
Dim returnValue As ElementType

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

Parameters

  • guid
    Type: System.Guid

    The GUID of the object to return.

Return Value

Type: ElementType
The object with the specified GUID, if it exists; otherwise a null reference (Nothing in Visual Basic).

See Also

Reference

ElementCollectionBase<ElementCollectionType, ElementType> Class

ElementCollectionBase<ElementCollectionType, ElementType> Members

Microsoft.PerformancePoint.Scorecards Namespace