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

'宣言
Protected Overridable Function SlowExpandIdentifier ( _
    typeName As String, _
    partialIdentifier As Object() _
) As Object()
'使用
Dim typeName As String
Dim partialIdentifier As Object()
Dim returnValue As Object()

returnValue = Me.SlowExpandIdentifier(typeName, _
    partialIdentifier)
protected virtual Object[] SlowExpandIdentifier(
    string typeName,
    Object[] partialIdentifier
)
protected:
virtual array<Object^>^ SlowExpandIdentifier(
    String^ typeName, 
    array<Object^>^ partialIdentifier
)
protected function SlowExpandIdentifier(
    typeName : String, 
    partialIdentifier : Object[]
) : Object[]

Parameters

  • typeName
    Type: System.String

    The name of a type of data object.

  • partialIdentifier
    Type: []

    A partial identifier of a data object.

Return Value

Type: []

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.

Permissions

See Also

Reference

DataObjectIdentifierResolver Class

DataObjectIdentifierResolver Members

Microsoft.VisualStudio.Data Namespace