FlavoredProject.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
Protected Overridable Function GetGuidProperty ( _
itemId As UInteger, _
propId As Integer _
) As Guid
'Utilizzo
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
)
abstract GetGuidProperty :
itemId:uint32 *
propId:int -> Guid
override GetGuidProperty :
itemId:uint32 *
propId:int -> Guid
protected function GetGuidProperty(
itemId : uint,
propId : int
) : Guid
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.
Return Value
Type: System.Guid
The GUID value of the property.
Remarks
This method calls IVsHierarchy GetGuidProperty on the inner project.
.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.