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 an object
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)
Syntax
'Declaration
Protected Function CreateObject ( _
localRegistry As ILocalRegistry, _
clsid As Guid, _
typeId As Guid _
) As Object
protected Object CreateObject(
ILocalRegistry localRegistry,
Guid clsid,
Guid typeId
)
protected:
Object^ CreateObject(
ILocalRegistry^ localRegistry,
Guid clsid,
Guid typeId
)
member CreateObject :
localRegistry:ILocalRegistry *
clsid:Guid *
typeId:Guid -> Object
protected function CreateObject(
localRegistry : ILocalRegistry,
clsid : Guid,
typeId : Guid
) : Object
Parameters
localRegistry
Type: Microsoft.VisualStudio.Shell.Interop.ILocalRegistryEstablishes a locally-registered COM object relative to the local Visual Studio registry hive
clsid
Type: GuidGUID of object to be created
typeId
Type: GuidGUID assotiated with specified System.Type
Return Value
Type: Object
.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.