IVsPropertyPage2.SetProperty Method
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function SetProperty ( _
propid As UInteger, _
var As Object _
) As Integer
int SetProperty(
uint propid,
Object var
)
int SetProperty(
[InAttribute] unsigned int propid,
[InAttribute] Object^ var
)
abstract SetProperty :
propid:uint32 *
var:Object -> int
function SetProperty(
propid : uint,
var : Object
) : int
Parameters
- propid
Type: System.UInt32
[in]
- var
Type: System.Object
[in]
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
[C++]
HRESULT IVsPropertyPage2::SetProperty(
[in] VSPPPID propid, [in] VARIANT var
);
.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.