HierarchyNode.SetGuidProperty Method (Int32, Guid%)

Sets properties whose values are GUIDs.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Public Overridable Function SetGuidProperty ( _
    propid As Integer, _
    ByRef guid As Guid _
) As Integer
'使用
Dim instance As HierarchyNode
Dim propid As Integer
Dim guid As Guid
Dim returnValue As Integer

returnValue = instance.SetGuidProperty(propid, _
    guid)
public virtual int SetGuidProperty(
    int propid,
    ref Guid guid
)
public:
virtual int SetGuidProperty(
    int propid, 
    Guid% guid
)
public function SetGuidProperty(
    propid : int, 
    guid : Guid
) : int

Parameters

Return Value

Type: System.Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

This method is called by the environment to set a specific property on the hierarchy.

Permissions

See Also

Reference

HierarchyNode Class

HierarchyNode Members

SetGuidProperty Overload

Microsoft.VisualStudio.Package Namespace

SetGuidProperty