IVsWindowFrame.SetFramePos Yöntem

Tanım

Pencerenin konumunu ayarlar.

public:
 int SetFramePos(Microsoft::VisualStudio::Shell::Interop::VSSETFRAMEPOS dwSFP, Guid % rguidRelativeTo, int x, int y, int cx, int cy);
public int SetFramePos (Microsoft.VisualStudio.Shell.Interop.VSSETFRAMEPOS dwSFP, ref Guid rguidRelativeTo, int x, int y, int cx, int cy);
abstract member SetFramePos : Microsoft.VisualStudio.Shell.Interop.VSSETFRAMEPOS * Guid * int * int * int * int -> int
Public Function SetFramePos (dwSFP As VSSETFRAMEPOS, ByRef rguidRelativeTo As Guid, x As Integer, y As Integer, cx As Integer, cy As Integer) As Integer

Parametreler

dwSFP
VSSETFRAMEPOS

'ndaki Değerlerinin numaralandırmasından alındığı çerçeve konumu VSSETFRAMEPOS .

rguidRelativeTo
Guid

'ndaki Kullanılmıyor (olarak ayarlanır null ).

x
Int32

'ndaki Mutlak x Ordinat.

y
Int32

'ndaki Mutlak y Ordinat.

cx
Int32

[in] x Ordinat x .

cy
Int32

[in] göreli Ordinat y .

Döndürülenler

Int32

Yöntem başarılı olursa, döndürür. S_OK. Başarısız olursa, bir hata kodu döndürür.

Açıklamalar

COM Imzası

Vsshell. IDL dosyasından:

HRESULT IVsWindowFrame::SetFramePos(  
   [in] VSSETFRAMEPOS dwSFP,  
   [in] REFGUID rguidRelativeTo,  
   [in] int x,  
   [in] int y,  
   [in] int cx,  
   [in] int cy  
);  

Şunlara uygulanır