Share via


SharedStatusBar.SetColorText 메서드

상태 표시줄 텍스트에 전경색과 배경색을 설정합니다.

네임스페이스:  Microsoft.VisualStudio.Data.Schema.Package.UI
어셈블리:  Microsoft.VisualStudio.Data.Schema.Package(Microsoft.VisualStudio.Data.Schema.Package.dll)

구문

‘선언
Public Function SetColorText ( _
    possibleOwner As SharedStatusBarOwner, _
    pszText As String, _
    crForeColor As UInteger, _
    crBackColor As UInteger _
) As Integer
public int SetColorText(
    SharedStatusBarOwner possibleOwner,
    string pszText,
    uint crForeColor,
    uint crBackColor
)
public:
virtual int SetColorText(
    SharedStatusBarOwner^ possibleOwner, 
    String^ pszText, 
    unsigned int crForeColor, 
    unsigned int crBackColor
) sealed
abstract SetColorText : 
        possibleOwner:SharedStatusBarOwner * 
        pszText:string * 
        crForeColor:uint32 * 
        crBackColor:uint32 -> int 
override SetColorText : 
        possibleOwner:SharedStatusBarOwner * 
        pszText:string * 
        crForeColor:uint32 * 
        crBackColor:uint32 -> int 
public final function SetColorText(
    possibleOwner : SharedStatusBarOwner, 
    pszText : String, 
    crForeColor : uint, 
    crBackColor : uint
) : int

매개 변수

  • pszText
    형식: System.String
    상태 텍스트 영역에 표시할 텍스트입니다.
  • crForeColor
    형식: System.UInt32
    텍스트의 전경색입니다.
  • crBackColor
    형식: System.UInt32
    텍스트의 배경색입니다.

반환 값

형식: System.Int32

구현

ISharedStatusBar.SetColorText(SharedStatusBarOwner, String, UInt32, UInt32)

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

SharedStatusBar 클래스

Microsoft.VisualStudio.Data.Schema.Package.UI 네임스페이스