Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Creates a new DDEX provider-implemented object, preferably tailored for the specified data source, and of the specified type.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Public MustOverride Function CreateObject ( _
dataSource As Guid, _
objType As Type _
) As Object
public abstract Object CreateObject(
Guid dataSource,
Type objType
)
public:
virtual Object^ CreateObject(
Guid dataSource,
Type^ objType
) abstract
abstract CreateObject :
dataSource:Guid *
objType:Type -> Object
public abstract function CreateObject(
dataSource : Guid,
objType : Type
) : Object
Parameters
dataSource
Type: System.GuidA DDEX data source GUID.
objType
Type: System.TypeData type of the object to create.
Return Value
Type: System.Object
Returns a new DDEX provider-implemented object of the requested type.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The objType parameter is null. |
.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.