MatchProperties.GetSingleMatch Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetSingleMatch(MatchProperties) |
Return a single match result |
GetSingleMatch(Int32, Int32, String) |
Return a single match result |
GetSingleMatch(MatchProperties)
Return a single match result
public:
static System::Collections::Generic::IReadOnlyCollection<Microsoft::VisualStudio::Workspace::Evaluator::MatchProperties ^> ^ GetSingleMatch(Microsoft::VisualStudio::Workspace::Evaluator::MatchProperties ^ matchProperties);
public static System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.Workspace.Evaluator.MatchProperties> GetSingleMatch (Microsoft.VisualStudio.Workspace.Evaluator.MatchProperties matchProperties);
static member GetSingleMatch : Microsoft.VisualStudio.Workspace.Evaluator.MatchProperties -> System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.Workspace.Evaluator.MatchProperties>
Public Shared Function GetSingleMatch (matchProperties As MatchProperties) As IReadOnlyCollection(Of MatchProperties)
Parameters
- matchProperties
- MatchProperties
The single matched instance
Returns
Collection with the single element
Applies to
GetSingleMatch(Int32, Int32, String)
Return a single match result
public:
static System::Collections::Generic::IReadOnlyCollection<Microsoft::VisualStudio::Workspace::Evaluator::MatchProperties ^> ^ GetSingleMatch(int groupPriority, int priority, System::String ^ value);
public static System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.Workspace.Evaluator.MatchProperties> GetSingleMatch (int groupPriority, int priority, string value);
static member GetSingleMatch : int * int * string -> System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.Workspace.Evaluator.MatchProperties>
Public Shared Function GetSingleMatch (groupPriority As Integer, priority As Integer, value As String) As IReadOnlyCollection(Of MatchProperties)
Parameters
- groupPriority
- Int32
Group priority desired
- priority
- Int32
Property properiority desired
- value
- String
Value of the match
Returns
Collection with the single element