DataSourceSpecializer.CreateObject Method
Creates a DDEX provider–implemented object of the given type that is specialized for the specified data source.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Public Overridable Function CreateObject ( _
source As Guid, _
objType As Type _
) As Object
public virtual Object CreateObject(
Guid source,
Type objType
)
public:
virtual Object^ CreateObject(
Guid source,
Type^ objType
)
abstract CreateObject :
source:Guid *
objType:Type -> Object
override CreateObject :
source:Guid *
objType:Type -> Object
public function CreateObject(
source : Guid,
objType : Type
) : Object
Parameters
source
Type: System.GuidGUID of the data source for which the provider is specialized.
objType
Type: System.TypeData type of the provider object.
Return Value
Type: System.Object
A specialized object of the specified type.
Implements
IVsDataSourceSpecializer.CreateObject(Guid, Type)
Remarks
Notes to Inheritors
The base implementation of this method returns nulla null reference (Nothing in Visual Basic).
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.