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
'宣言
Private Function GetGuidProperty ( _
itemid As UInteger, _
propid As Integer, _
<OutAttribute> ByRef pguid As Guid _
) As Integer Implements IVsUIHierarchy.GetGuidProperty
'使用
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.
- propid
Type: System.Int32
The ID of the property.
- pguid
Type: System.Guid%
[out] The GUID value.
Return Value
Type: System.Int32
S_OK().
Implements
IVsUIHierarchy.GetGuidProperty(UInt32, Int32, Guid%)
Remarks
This method calls the GetGuidProperty method.
.NET Framework Security
- 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.