Compartir a través de


DataObjectIdentifierResolver.SlowExpandIdentifier Method

Expands an identifier by whatever means are available.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Protected Overridable Function SlowExpandIdentifier ( _
    typeName As String, _
    partialIdentifier As Object() _
) As Object()
protected virtual Object[] SlowExpandIdentifier(
    string typeName,
    Object[] partialIdentifier
)
protected:
virtual array<Object^>^ SlowExpandIdentifier(
    String^ typeName, 
    array<Object^>^ partialIdentifier
)
abstract SlowExpandIdentifier : 
        typeName:string * 
        partialIdentifier:Object[] -> Object[] 
override SlowExpandIdentifier : 
        typeName:string * 
        partialIdentifier:Object[] -> Object[] 
protected function SlowExpandIdentifier(
    typeName : String, 
    partialIdentifier : Object[]
) : Object[]

Parameters

  • typeName
    Type: System.String

    The name of a type of data object.

  • partialIdentifier
    Type: array<System.Object[]

    A partial identifier of a data object.

Return Value

Type: array<System.Object[]
The expanded identifier.

Exceptions

Exception Condition
ArgumentNullException

The typeName parameter is null.

Remarks

This method expands an identifier using whatever means necessary to achieve the correct expansion. It may perform expensive operations as required. The base implementation delegates to the QuickExpandIdentifier method.

The base implementation of the ExpandIdentifier method tries to call the QuickExpandIdentifier method first, and if that fails to provide an expansion it searches the cache for an existing entry. Finally, if no entry is found in cache, it calls this method as a last resort.

.NET Framework Security

See Also

Reference

DataObjectIdentifierResolver Class

Microsoft.VisualStudio.Data Namespace