Gets properties whose values are GUIDs.
Namespace: Microsoft.VisualStudio.Shell.Flavor
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Protected Overridable Function GetGuidProperty ( _
itemId As UInteger, _
propId As Integer _
) As Guid
'使用
Dim itemId As UInteger
Dim propId As Integer
Dim returnValue As Guid
returnValue = Me.GetGuidProperty(itemId, _
propId)
protected virtual Guid GetGuidProperty(
uint itemId,
int propId
)
protected:
virtual Guid GetGuidProperty(
unsigned int itemId,
int propId
)
protected function GetGuidProperty(
itemId : uint,
propId : int
) : Guid
Parameters
itemId
Type: System.UInt32The item ID of the hierarchy node for which to get the property.
propId
Type: System.Int32The ID of the property.
Return Value
Type: System.Guid
The GUID value of the property.
Remarks
This method calls IVsHierarchyGetGuidProperty on the inner project.
Permissions
- 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.