Udostępnij za pośrednictwem


IVsToolboxDataProvider2.GetUniqueID Method

Retrieves the unique ID for the given Toolbox tab.

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

Syntax

'Declaration
Function GetUniqueID ( _
    <OutAttribute> ByRef pguidID As Guid _
) As Integer
int GetUniqueID(
    out Guid pguidID
)
int GetUniqueID(
    [OutAttribute] Guid% pguidID
)
abstract GetUniqueID : 
        pguidID:Guid byref -> int 
function GetUniqueID(
    pguidID : Guid
) : int

Parameters

  • pguidID
    Type: System.Guid%
    [out] The unique ID of the Toolbox tab.

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 vsshell80.idl:

HRESULT IVsToolboxDataProvider2::GetUniqueID(
   [out] GUID* pguidID
);

.NET Framework Security

See Also

Reference

IVsToolboxDataProvider2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace