Export (0) Print
Expand All

IVsSolution.SetProperty Method

Generically sets properties of the solution.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)

int SetProperty (
	[InAttribute] int propid,
	[InAttribute] Object var
)
int SetProperty (
	/** @attribute InAttribute() */ int propid, 
	/** @attribute InAttribute() */ Object var
)
function SetProperty (
	propid : int, 
	var : Object
) : int

Parameters

propid

[in] Identifier of the solution property. For a list of propid values, see __VSPROPID.

var

[out] Pointer to VARIANT that contains the property settings.

Return Value

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

COM Signature

From vsshell.idl:

HRESULT IVsSolution::SetProperty(
   [in] VSPROPID propid,
   [in] VARIANT var
);

Community Additions

ADD
Show:
© 2014 Microsoft