SelectStringCommand.Context Property

Definition

The number of context lines to collect. If set to a single integer value N, collects N lines each of pre- and post- context. If set to a 2-tuple B,A, collects B lines of pre- and A lines of post- context. If set to a list with more than 2 elements, the excess elements are ignored.

public:
 property cli::array <int> ^ Context { cli::array <int> ^ get(); void set(cli::array <int> ^ value); };
public:
 property Platform::Array <int> ^ Context { Platform::Array <int> ^ get(); void set(Platform::Array <int> ^ value); };
[System.Management.Automation.Parameter]
[System.Management.Automation.ValidateCount(1, 2)]
[System.Management.Automation.ValidateNotNullOrEmpty]
[System.Management.Automation.ValidateRange(Mono.Cecil.CustomAttributeArgument, Mono.Cecil.CustomAttributeArgument)]
public int[] Context { get; set; }
member this.Context : int[] with get, set
Public Property Context As Integer()

Property Value

Int32[]
Attributes

Applies to