IActiveDesigner.GetRuntimeClassID Method

Retrieves the class identifier (CLSID) for the runtime portion of the ActiveX designer. Designers generally have separate runtime and design time components.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

‘선언
Function GetRuntimeClassID ( _
    <OutAttribute> ByRef pclsid As Guid _
) As Integer
‘사용 방법
Dim instance As IActiveDesigner
Dim pclsid As Guid
Dim returnValue As Integer

returnValue = instance.GetRuntimeClassID(pclsid)
int GetRuntimeClassID(
    out Guid pclsid
)
int GetRuntimeClassID(
    [OutAttribute] Guid% pclsid
)
abstract GetRuntimeClassID : 
        pclsid:Guid byref -> int 
function GetRuntimeClassID(
    pclsid : Guid
) : int

Parameters

  • pclsid
    Type: System.Guid%
    [out] Pointer to the CLSID of the runtime portion of the designer.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From designer.idl:

HRESULT IActiveDesigner::GetRuntimeClassID(
   [out] CLSID * pclsid
);

.NET Framework Security

See Also

Reference

IActiveDesigner Interface

IActiveDesigner Members

Microsoft.VisualStudio.Shell.Interop Namespace