IVsWindowFrame.SetGuidProperty(Int32, Guid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets a window frame property based on a supplied GUID.
public:
int SetGuidProperty(int propid, Guid % rguid);
public int SetGuidProperty (int propid, ref Guid rguid);
abstract member SetGuidProperty : int * Guid -> int
Public Function SetGuidProperty (propid As Integer, ByRef rguid As Guid) As Integer
Parameters
- propid
- Int32
[in] Identifier of the property whose values are taken from the __VSFPROPID enumeration.
- rguid
- Guid
[in] Unique identifier of the property to set.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsWindowFrame::SetGuidProperty(
[in] VSFPROPID propid,
[in] REFGUID rguid
);
The following table lists property IDs for GUID properties. See __VSFPROPID for a complete list of all property types.
Property Name | Prop ID | Comments |
---|---|---|
VSFPROPID_CmdUIGuid | -4007 | For all document window frames |
VSFPROPID_InheritKeyBindings | -4011 | For all document window frames |
VSFPROPID_GuidPersistenceSlot | -5000 | For all tool window frames |
VSFPROPID_GuidAutoActivate | -5001 | For all tool window frames |