DataSourceSpecializer.GetType Method (Guid, String)

Retrieves a type definition, given a type name and a data source GUID.

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

Syntax

'宣言
Public Overridable Function GetType ( _
    source As Guid, _
    typeName As String _
) As Type
'使用
Dim instance As DataSourceSpecializer
Dim source As Guid
Dim typeName As String
Dim returnValue As Type

returnValue = instance.GetType(source, _
    typeName)
public virtual Type GetType(
    Guid source,
    string typeName
)
public:
virtual Type^ GetType(
    Guid source, 
    String^ typeName
)
public function GetType(
    source : Guid, 
    typeName : String
) : Type

Parameters

Return Value

Type: System.Type

A type definition.

Implements

IVsDataSourceSpecializer.GetType(Guid, String)

Remarks

This method allows DDEX providers to customize resolution of types referenced from dynamic locations such as XML files.

Notes to Inheritors:

The base implementation of this method returns a null reference (Nothing in Visual Basic).

Permissions

See Also

Reference

DataSourceSpecializer Class

DataSourceSpecializer Members

GetType Overload

Microsoft.VisualStudio.Data.Framework Namespace