Compartir a través de


AdoDotNetProviderObjectFactory.CreateObject Method

Supports creation of the DataConnectionProperties and DataConnectionSupport types.

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

Syntax

'Declaración
Public Overrides Function CreateObject ( _
    objType As Type _
) As Object
public override Object CreateObject(
    Type objType
)
public:
virtual Object^ CreateObject(
    Type^ objType
) override
abstract CreateObject : 
        objType:Type -> Object 
override CreateObject : 
        objType:Type -> Object 
public override function CreateObject(
    objType : Type
) : Object

Parameters

  • objType
    Type: System.Type
    Data type of object to create.

Return Value

Type: System.Object
Returns an object of type specified by the objectType parameter, or nulla null reference (Nothing in Visual Basic) if the object type is not supported.

.NET Framework Security

See Also

Reference

AdoDotNetProviderObjectFactory Class

Microsoft.VisualStudio.Data.AdoDotNet Namespace

CreateObject

AdoDotNetProviderObjectFactory