Método IVsUIHierarchy.GetGuidProperty (UInt32, Int32, Guid)

 

Identifica o "tipo" de um nó específico.

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

Sintaxe

int GetGuidProperty(
    uint itemid,
    int propid,
    out Guid pguid
)
int GetGuidProperty(
    unsigned int itemid,
    int propid,
    [OutAttribute] Guid% pguid
)
abstract GetGuidProperty : 
        itemid:uint32 *
        propid:int *
        pguid:Guid byref -> int
Function GetGuidProperty (
    itemid As UInteger,
    propid As Integer,
    <OutAttribute> ByRef pguid As Guid
) As Integer

Parâmetros

  • itemid
    [in] Identificador do item de hierarquia, cuja propriedade é a serem recuperados.Para obter uma lista de itemid valores, consulte VSITEMID.
  • propid
    [in] Identificador da propriedade do item hierarquia determinada.Para obter uma lista de propid valores, consulte __VSHPROPID.
  • pguid
    [out] Ponteiro para uma propriedade GUID especificado em propid.

Valor de retorno

Type: System.Int32

Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.

Implementações

IVsHierarchy.GetGuidProperty(UInt32, Int32, Guid)

Comentários

COM assinatura

De vsshell.idl:

HRESULT IVsUIHierarchy::GetGuidProperty(
   [in] VSITEMID itemid,
   [in] VSHPROPID propid,
   [out] GUID *pguid
);

Use esse método para passar quaisquer propriedades cujos valores são GUIDs.O GetProperty método não pode ser usado para passar as propriedades GUID.

Consulte também

Interface IVsUIHierarchy
Namespace Microsoft.VisualStudio.Shell.Interop

Retornar ao topo