共用方式為


IVsWindowView.SetGuidProperty(Int32, Guid) Method

Definition

Set the value of a GUID property.

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] Integer. The property to set. A value from the __VSVPROPID enumeration.

rguid
Guid

[in] Reference to a GUID. The value to assign to 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 IVsWindowView::SetGuidProperty(  
   [in] VSVPROPID propid,   
   [in] REFGUID rguid  
);  

Applies to