Compartir a través de


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

'Declaration
Public Overridable Function GetType ( _
    source As Guid, _
    typeName As String _
) As Type
public virtual Type GetType(
    Guid source,
    string typeName
)
public:
virtual Type^ GetType(
    Guid source, 
    String^ typeName
)
abstract GetType : 
        source:Guid * 
        typeName:string -> Type  
override GetType : 
        source:Guid * 
        typeName:string -> Type
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 nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

DataSourceSpecializer Class

GetType Overload

Microsoft.VisualStudio.Data.Framework Namespace