다음을 통해 공유


SharedStatusBar.Progress 메서드 (SharedStatusBarOwner, Int32, String, UInt32, UInt32)

일정한 시간이 걸리는 작업의 진행률을 표시합니다.

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

구문

‘선언
Public Function Progress ( _
    possibleOwner As SharedStatusBarOwner, _
    fInProgress As Integer, _
    pwszLabel As String, _
    nComplete As UInteger, _
    nTotal As UInteger _
) As Integer
public int Progress(
    SharedStatusBarOwner possibleOwner,
    int fInProgress,
    string pwszLabel,
    uint nComplete,
    uint nTotal
)
public:
virtual int Progress(
    SharedStatusBarOwner^ possibleOwner, 
    int fInProgress, 
    String^ pwszLabel, 
    unsigned int nComplete, 
    unsigned int nTotal
) sealed
abstract Progress : 
        possibleOwner:SharedStatusBarOwner * 
        fInProgress:int * 
        pwszLabel:string * 
        nComplete:uint32 * 
        nTotal:uint32 -> int 
override Progress : 
        possibleOwner:SharedStatusBarOwner * 
        fInProgress:int * 
        pwszLabel:string * 
        nComplete:uint32 * 
        nTotal:uint32 -> int 
public final function Progress(
    possibleOwner : SharedStatusBarOwner, 
    fInProgress : int, 
    pwszLabel : String, 
    nComplete : uint, 
    nTotal : uint
) : int

매개 변수

  • fInProgress
    형식: System.Int32
    진행률 표시줄이 사용 중이면 true이고, 완료되었으면 false입니다.
  • pwszLabel
    형식: System.String
    진행률 표시줄이 사용 중인 동안 상태 필드에 표시되는 텍스트입니다.
  • nComplete
    형식: System.UInt32
    진행률 표시줄에서 현재 완료된 단위 수입니다.
  • nTotal
    형식: System.UInt32
    진행률 표시줄 작업의 총 단위 수입니다.

반환 값

형식: System.Int32

구현

ISharedStatusBar.Progress(SharedStatusBarOwner, Int32, String, UInt32, UInt32)

.NET Framework 보안

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

참고 항목

참조

SharedStatusBar 클래스

Progress 오버로드

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