IDatabaseNode.SetProperty Method
Sets a Visual Studio Integration Partner (VSIP) property, such as VSHPROPID_IsNonMemberItem.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Function SetProperty ( _
propId As Integer, _
value As Object _
) As Integer
int SetProperty(
int propId,
Object value
)
int SetProperty(
int propId,
Object^ value
)
abstract SetProperty :
propId:int *
value:Object -> int
function SetProperty(
propId : int,
value : Object
) : int
Parameters
- propId
Type: System.Int32
The property to set. For more information, see __VSHPROPID and __VSHPROPID2.
- value
Type: System.Object
The value to which to set the property.
Return Value
Type: System.Int32
HRESULT
.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.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Package.Project Namespace