共用方式為


MatchInfoContext.DisplayPreContext Property

Definition

Gets or sets the lines found before a match. Does not include overlapping context and thus can be used to display contiguous match regions.

public:
 property cli::array <System::String ^> ^ DisplayPreContext { cli::array <System::String ^> ^ get(); void set(cli::array <System::String ^> ^ value); };
public:
 property Platform::Array <Platform::String ^> ^ DisplayPreContext { Platform::Array <Platform::String ^> ^ get(); void set(Platform::Array <Platform::String ^> ^ value); };
public string[] DisplayPreContext { get; set; }
member this.DisplayPreContext : string[] with get, set
Public Property DisplayPreContext As String()

Property Value

String[]

Applies to