IVsCodeWindow.GetEditorCaption 메서드
편집기에 사용자 지정 텍스트를 추가할 수 있습니다 편집기 캡션을 반환 합니다.
네임스페이스: Microsoft.VisualStudio.TextManager.Interop
어셈블리: Microsoft.VisualStudio.TextManager.Interop(Microsoft.VisualStudio.TextManager.Interop.dll)
구문
‘선언
Function GetEditorCaption ( _
dwReadOnly As READONLYSTATUS, _
<OutAttribute> ByRef pbstrEditorCaption As String _
) As Integer
int GetEditorCaption(
READONLYSTATUS dwReadOnly,
out string pbstrEditorCaption
)
int GetEditorCaption(
[InAttribute] READONLYSTATUS dwReadOnly,
[OutAttribute] String^% pbstrEditorCaption
)
abstract GetEditorCaption :
dwReadOnly:READONLYSTATUS *
pbstrEditorCaption:string byref -> int
function GetEditorCaption(
dwReadOnly : READONLYSTATUS,
pbstrEditorCaption : String
) : int
매개 변수
dwReadOnly
형식: Microsoft.VisualStudio.TextManager.Interop.READONLYSTATUS[in] 읽기 및 쓰기 버퍼의 상태를 가져옵니다. 목록에 대 한 dwReadOnly 값을 참조 하십시오.READONLYSTATUS
pbstrEditorCaption
형식: String%[out] 에 대 한 포인터를 BSTR 캡션 텍스트가 들어 있는.
반환 값
형식: Int32
메서드가 성공 하면, 반환 S_OK.실패할 경우 오류 코드를 반환합니다.
설명
이 메서드는 버퍼를 연결 된 텍스트를 검사 하 여 읽기 전용 상태를 확인 합니다.
COM 시그니처
Textmgr.idl에서:
HRESULT IVsCodeWindow::GetEditorCaption(
[in] READONLYSTATUS dwReadOnly,
[out] BSTR *pbstrEditorCaption
);
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용를 참조하세요.