ProjectNode.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 Overrides Function SetGuidProperty ( _
    propid As Integer, _
    ByRef guid As Guid _
) As Integer
'使用
Dim instance As ProjectNode
Dim propid As Integer
Dim guid As Guid
Dim returnValue As Integer

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

Parameters

  • guid
    Type: System.Guid%

    Unique identifier for the property.

Return Value

Type: System.Int32

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

Permissions

See Also

Reference

ProjectNode Class

ProjectNode Members

SetGuidProperty Overload

Microsoft.VisualStudio.Package Namespace