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.Int32The __VSHPROPID() property to set.
value
Type: System.ObjectThe value to set.
Return Value
Type: System.Int32
S_OK if the method was successful, or an error code if it failed.
Permissions
- 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.