Condividi tramite


FlavoredProject.IVsUIHierarchy.GetGuidProperty Method

Gets properties whose values are GUIDs.

Namespace:  Microsoft.VisualStudio.Shell.Flavor
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Dichiarazione
Private Function GetGuidProperty ( _
    itemid As UInteger, _
    propid As Integer, _
    <OutAttribute> ByRef pguid As Guid _
) As Integer Implements IVsUIHierarchy.GetGuidProperty
'Utilizzo
Dim instance As FlavoredProject
Dim itemid As UInteger
Dim propid As Integer
Dim pguid As Guid
Dim returnValue As Integer

returnValue = CType(instance, IVsUIHierarchy).GetGuidProperty(itemid, _
    propid, pguid)
int IVsUIHierarchy.GetGuidProperty(
    uint itemid,
    int propid,
    out Guid pguid
)
private:
virtual int GetGuidProperty(
    unsigned int itemid, 
    int propid, 
    [OutAttribute] Guid% pguid
) sealed = IVsUIHierarchy::GetGuidProperty
private abstract GetGuidProperty : 
        itemid:uint32 * 
        propid:int * 
        pguid:Guid byref -> int 
private override GetGuidProperty : 
        itemid:uint32 * 
        propid:int * 
        pguid:Guid byref -> int 
JScript does not support explicit interface implementations.

Parameters

  • itemid
    Type: System.UInt32
    The item ID of the hierarchy node for which to get the property.

Return Value

Type: System.Int32
S_OK().

Implements

IVsUIHierarchy.GetGuidProperty(UInt32, Int32, Guid%)

Remarks

This method calls the GetGuidProperty method.

.NET Framework Security

See Also

Reference

FlavoredProject Class

FlavoredProject Members

Microsoft.VisualStudio.Shell.Flavor Namespace