ISEAddonTool 객체는 Windows PowerShell ISE에 추가 기능을 제공하는 설치된 추가 도구를 나타냅니다. 예를 들어, '보기'를 클릭한 후 '명령어 애드온 표시'를 클릭하면 표시할 수 있는 명령어 도구가 있습니다. 이 도구는 다양한 ISEAddOnTool 객체를 조작하여 접근할 수 있습니다.
각 추가 도구는 수직 창 또는 수평 창 중 하나와 연관될 수 있습니다. 세로 창은 Windows PowerShell ISE의 오른쪽 가장자리에 도킹되어 있습니다. 수평 유리는 하단 가장자리에 고정되어 있습니다.
Windows PowerShell ISE의 각 PowerShell 탭에는 자체 애드온 도구 세트가 설치될 수 있습니다. 현재 선택된 탭에서 사용 가능한 도구 모음이나 $psISE.PowerShellTabs 컬렉션 내 PowerShellTab 객체 내 동일한 속성에 접근하려면 $psISE.CurrentPowerShellTab.HorizontalAddOnTools 및 $psISE.CurrentPowerShellTab.VerticalAddOnTools를 참조하세요.
메서드
이 클래스의 객체에 대해 Windows PowerShell ISE에 특화된 메서드는 제공되지 않습니다.
속성
제어
Windows PowerShell ISE 3.0 이후 버전에서 지원되며, 이전 버전에는 포함되지 않습니다.
Control 속성은 Commands 애드온 도구의 많은 세부 사항에 대한 읽기 권한을 제공합니다.
# View the properties of the Commands add-on tool.
# (assumes that it's 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 이후 버전에서 지원되며, 이전 버전에는 포함되지 않습니다.
추가 도구가 현재 지정된 창에서 보이는지 여부를 나타내는 불리언 속성입니다. 도구가 보이면 IsVisible 속성을 $false 도구로 숨기거나, IsVisible 속성을 설정 $true 해 PowerShell 탭에서 추가 도구를 보이게 할 수 있습니다. 애드온 도구가 숨겨지면 CurrentVisibleHorizontalTool 또는 CurrentVisibleVerticalTool 객체를 통해 접근할 수 없으므로 해당 객체에 이 속성을 사용해 보이게 할 수 없습니다.
# 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
이름
Windows PowerShell ISE 3.0 이후 버전에서 지원되며, 이전 버전에는 포함되지 않습니다.
추가 도구 이름을 딴 읽기 전용 속성입니다.
# Gets the name of the visible vertical pane add-on tool.
$psISE.CurrentVisibleVerticalTool.Name
Commands