共用方式為


IVsWindowView.GetGuidProperty(Int32, Guid) Method

Definition

Retrieves the value of a GUID property.

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

pguid
Guid

[out] Pointer to the GUID that is the value 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 IVsWindowView::GetGuidProperty(  
   [in] VSVPROPID propid,   
   [out] GUID *pguid  
);  

Applies to