Aracılığıyla paylaş


ISEAddOnTool Nesnesi

ISEAddonTool nesnesi, Windows PowerShell ISE'ye ek işlevsellik sağlayan yüklü bir eklenti aracını temsil eder. Görünüm'e ve ardından Komut Eklentisini Göster'e tıklayarak görüntüleyebileceğiniz Komutlar aracı buna örnek olarak gösterilebilir. Bu araç daha sonra çeşitli kullanılabilir ISEAddOnTool nesnelerini işleyerek sizin için erişilebilir.

Her eklenti aracı dikey bölme veya yatay bölme ile ilişkilendirilebilir. Dikey bölme, Windows PowerShell ISE'nin sağ kenarına yerleştirilmiştir. Yatay bölme alt kenara yerleştirilmiştir.

Windows PowerShell ISE'deki her PowerShell sekmesinde kendi eklenti araçları kümesi yüklü olabilir. Seçili durumdaki sekmede veya $psISE.PowerShellTabs koleksiyon nesnesindeki PowerShellTab nesnelerinden herhangi birinde kullanılabilen araçlar koleksiyonuna erişmek için bkz. $psISE.CurrentPowerShellTab.HorizontalAddOnTools ve $psISE.CurrentPowerShellTab.VerticalAddOnTools.

Yöntemler

Bu sınıfın nesneleri için Kullanılabilir Windows PowerShell ISE'ye özgü yöntem yoktur.

Properties

Control

Windows PowerShell ISE 3.0 ve sonraki sürümlerde desteklenir ve önceki sürümlerde mevcut değildir.

Control özelliği, Komutlar eklenti aracının birçok ayrıntısına okuma erişimi sağlar.

# View the properties of the Commands add-on tool.
# (assumes that it is visible in the vertical pane)
$psISE.CurrentVisibleVerticalTool.Control
HostObject                  : Microsoft.PowerShell.Host.ISE.ObjectModelRoot
Content                     :
HasContent                  :
ContentTemplate             :
ContentTemplateSelector     :
ContentStringFormat         :
BorderBrush                 :
BorderThickness             :
Background                  :
Foreground                  :
FontFamily                  :
FontSize                    :
FontStretch                 :
FontStyle                   :
FontWeight                  :
HorizontalContentAlignment  :
VerticalContentAlignment    :
TabIndex                    :
IsTabStop                   :
Padding                     :
Template                    : System.Windows.Controls.ControlTemplate
Style                       :
OverridesDefaultStyle       :
UseLayoutRounding           :
Triggers                    : {}
TemplatedParent             :
Resources                   : {System.Windows.Controls.TabItem}
DataContext                 :
BindingGroup                :
Language                    :
Name                        :
Tag                         :
InputScope                  :
ActualWidth                 : 370.75
ActualHeight                : 676.559097412109
LayoutTransform             :
Width                       :
MinWidth                    :
MaxWidth                    :
Height                      :
MinHeight                   :
MaxHeight                   :
FlowDirection               : LeftToRight
Margin                      :
HorizontalAlignment         :
VerticalAlignment           :
FocusVisualStyle            :
Cursor                      :
ForceCursor                 :
IsInitialized               : True
IsLoaded                    :
ToolTip                     :
ContextMenu                 :
Parent                      :
HasAnimatedProperties       :
InputBindings               :
CommandBindings             :
AllowDrop                   :
DesiredSize                 : 227.66,676.559097412109
IsMeasureValid              : True
IsArrangeValid              : True
RenderSize                  : 370.75,676.559097412109
RenderTransform             :
RenderTransformOrigin       :
IsMouseDirectlyOver         : False
IsMouseOver                 : False
IsStylusOver                : False
IsKeyboardFocusWithin       : False
IsMouseCaptured             :
IsMouseCaptureWithin        : False
IsStylusDirectlyOver        : False
IsStylusCaptured            :
IsStylusCaptureWithin       : False
IsKeyboardFocused           : False
IsInputMethodEnabled        :
Opacity                     :
OpacityMask                 :
BitmapEffect                :
Effect                      :
BitmapEffectInput           :
CacheMode                   :
Uid                         :
Visibility                  : Visible
ClipToBounds                : False
Clip                        :
SnapsToDevicePixels         : False
IsFocused                   :
IsEnabled                   :
IsHitTestVisible            :
IsVisible                   : True
Focusable                   :
PersistId                   : 1
IsManipulationEnabled       :
AreAnyTouchesOver           : False
AreAnyTouchesDirectlyOver   :
AreAnyTouchesCapturedWithin : False
AreAnyTouchesCaptured       :
TouchesCaptured             : {}
TouchesCapturedWithin       : {}
TouchesOver                 : {}
TouchesDirectlyOver         : {}
DependencyObjectType        : System.Windows.DependencyObjectType
IsSealed                    : False
Dispatcher                  : System.Windows.Threading.Dispatcher

Isvisible

Windows PowerShell ISE 3.0 ve sonraki sürümlerde desteklenir ve önceki sürümlerde mevcut değildir.

Eklenti aracının şu anda atanmış bölmesinde görünür olup olmadığını gösteren Boole özelliği. Görünür durumdaysa, aracı gizlemek için IsVisible özelliğini ayarlayabilir veya Eklenti aracını PowerShell sekmesinde görünür hale getirmek için $true IsVisible özelliğini ayarlayabilirsiniz. Eklenti aracı gizlendikten sonra, artık CurrentVisibleHorizontalTool veya CurrentVisibleVerticalTool nesneleri aracılığıyla erişilemediğini ve bu nedenle söz konusu nesnede bu özellik kullanılarak görünür hale getirilemeyeceğini unutmayın.$false

# Hide the current tool in the vertical tool pane
$psISE.CurrentVisibleVerticalTool.IsVisible = $false
# Show the first tool on the currently selected PowerShell tab
$psISE.CurrentPowerShellTab.VerticalAddOnTools[0].IsVisible = $true

Veri Akışı Adı

Windows PowerShell ISE 3.0 ve sonraki sürümlerde desteklenir ve önceki sürümlerde mevcut değildir.

Eklenti aracının adını alan salt okunur özellik.

# Gets the name of the visible vertical pane add-on tool.
$psISE.CurrentVisibleVerticalTool.Name
Commands

Ayrıca bkz: