BaseCompareEditorControl.UpdateStatusStrip Method (String, Nullable<Int32>)
Updates the status strip based on the status event arguments.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.SchemaAndDataCompare.UI.Editors
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Overridable Sub UpdateStatusStrip ( _
text As String, _
pct As Nullable(Of Integer) _
)
'Usage
Dim instance As BaseCompareEditorControl
Dim text As String
Dim pct As Nullable(Of Integer)
instance.UpdateStatusStrip(text, pct)
public virtual void UpdateStatusStrip(
string text,
Nullable<int> pct
)
public:
virtual void UpdateStatusStrip(
String^ text,
Nullable<int> pct
)
public function UpdateStatusStrip(
text : String,
pct : Nullable<int>
)
abstract UpdateStatusStrip :
text:string *
pct:Nullable<int> -> unit
override UpdateStatusStrip :
text:string *
pct:Nullable<int> -> unit
Parameters
- text
Type: System.String
The text to display in the label
- pct
Type: System.Nullable<Int32>
The progress completion percentage
Remarks
If pct is null, then the progress bar is left alone. If it is 0-100, then this method updates the progress bar value. Any other values cause the progress bar visibility to be set to false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
BaseCompareEditorControl Class
BaseCompareEditorControl Members
Microsoft.VisualStudio.Data.Schema.Project.SchemaAndDataCompare.UI.Editors Namespace