ProjectNode.SetProperty Method (Int32, Object)

Sets the value for the supplied property.

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

Syntax

'宣言
Public Overrides Function SetProperty ( _
    propid As Integer, _
    value As Object _
) As Integer
'使用
Dim instance As ProjectNode
Dim propid As Integer
Dim value As Object
Dim returnValue As Integer

returnValue = instance.SetProperty(propid, _
    value)
public override int SetProperty(
    int propid,
    Object value
)
public:
virtual int SetProperty(
    int propid, 
    Object^ value
) override
public override function SetProperty(
    propid : int, 
    value : Object
) : int

Parameters

  • propid
    Type: System.Int32

    The __VSHPROPID() property to set.

Return Value

Type: System.Int32

S_OK if the method was successful, or an error code if it failed.

Permissions

See Also

Reference

ProjectNode Class

ProjectNode Members

SetProperty Overload

Microsoft.VisualStudio.Package Namespace