防止狀態文字區域受到更新。
命名空間: Microsoft.VisualStudio.Data.Schema.Package.UI
組件: Microsoft.VisualStudio.Data.Schema.Package (在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
語法
'宣告
Public Function FreezeOutput ( _
possibleOwner As SharedStatusBarOwner, _
fFreeze As Integer _
) As Integer
public int FreezeOutput(
SharedStatusBarOwner possibleOwner,
int fFreeze
)
public:
virtual int FreezeOutput(
SharedStatusBarOwner^ possibleOwner,
int fFreeze
) sealed
abstract FreezeOutput :
possibleOwner:SharedStatusBarOwner *
fFreeze:int -> int
override FreezeOutput :
possibleOwner:SharedStatusBarOwner *
fFreeze:int -> int
public final function FreezeOutput(
possibleOwner : SharedStatusBarOwner,
fFreeze : int
) : int
參數
- possibleOwner
型別:Microsoft.VisualStudio.Data.Schema.Package.UI.SharedStatusBarOwner
狀態列的擁有者。如果不是擁有者,就不會進行任何作業。
- fFreeze
型別:System.Int32
如果為 true,則告訴環境在狀態列上放置凍結。直到釋放凍結之前都無法做其他更新。如果為 false,則釋放凍結。
傳回值
型別:System.Int32
實作
ISharedStatusBar.FreezeOutput(SharedStatusBarOwner, Int32)
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。