Export (0) Print
Expand All

IVsWindowFrame.SetProperty Method

Sets a window frame property.

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



[in] Identifier of the property whose values are taken from the __VSFPROPID enumeration.


[in] The value depends on the property set (see __VSFPROPID ).

Return Value

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

COM Signature

From vsshell.idl:

HRESULT IVsWindowFrame::SetProperty(
   [in] VSFPROPID propid,
   [in] VARIANT var

See __VSFPROPID for a complete list of properties, property IDs, types, and comments.

Community Additions

© 2014 Microsoft