Compartilhar via


IVsWindowFrame.GetGuidProperty(Int32, Guid) Method

Definition

Returns a window frame property based on a supplied GUID.

public:
 int GetGuidProperty(int propid, [Runtime::InteropServices::Out] Guid % pguid);
public int GetGuidProperty (int propid, out Guid pguid);
abstract member GetGuidProperty : int * Guid -> int
Public Function GetGuidProperty (propid As Integer, ByRef pguid As Guid) As Integer

Parameters

propid
Int32

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

pguid
Guid

[out] Pointer to the unique identifier of the property.

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::GetGuidProperty(  
   [in] VSFPROPID propid,  
   [out] GUID *pguid  
);  

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

Applies to