PathString.StartsWithSegments Méthode

Définition

Surcharges

StartsWithSegments(PathString)

Détermine si le début de cette PathString instance correspond au spécifiéPathString.

StartsWithSegments(PathString, PathString)

Détermine si le début de cette PathString instance correspond au spécifié PathString et retourne les segments restants.

StartsWithSegments(PathString, StringComparison)

Détermine si le début de cette PathString instance correspond au spécifié PathString lorsqu’il est comparé à l’aide de l’option de comparaison spécifiée.

StartsWithSegments(PathString, PathString, PathString)

Détermine si le début de cette PathString instance correspond au spécifié PathString et retourne les segments correspondants et restants.

StartsWithSegments(PathString, StringComparison, PathString)

Détermine si le début de cette PathString instance correspond au spécifié PathString lors de la comparaison à l’aide de l’option de comparaison spécifiée et retourne les segments restants.

StartsWithSegments(PathString, StringComparison, PathString, PathString)

Détermine si le début de cette PathString instance correspond au spécifié PathString lorsqu’il est comparé à l’aide de l’option de comparaison spécifiée et retourne les segments correspondants et restants.

StartsWithSegments(PathString)

Détermine si le début de cette PathString instance correspond au spécifiéPathString.

public:
 bool StartsWithSegments(Microsoft::AspNetCore::Http::PathString other);
public bool StartsWithSegments (Microsoft.AspNetCore.Http.PathString other);
member this.StartsWithSegments : Microsoft.AspNetCore.Http.PathString -> bool
Public Function StartsWithSegments (other As PathString) As Boolean

Paramètres

other
PathString

PathString à comparer.

Retours

true si la valeur correspond au début de cette chaîne ; sinon, false.

S’applique à

StartsWithSegments(PathString, PathString)

Détermine si le début de cette PathString instance correspond au spécifié PathString et retourne les segments restants.

public:
 bool StartsWithSegments(Microsoft::AspNetCore::Http::PathString other, [Runtime::InteropServices::Out] Microsoft::AspNetCore::Http::PathString % remaining);
public bool StartsWithSegments (Microsoft.AspNetCore.Http.PathString other, out Microsoft.AspNetCore.Http.PathString remaining);
member this.StartsWithSegments : Microsoft.AspNetCore.Http.PathString * PathString -> bool
Public Function StartsWithSegments (other As PathString, ByRef remaining As PathString) As Boolean

Paramètres

other
PathString

PathString à comparer.

remaining
PathString

Segments restants après la correspondance.

Retours

true si la valeur correspond au début de cette chaîne ; sinon, false.

S’applique à

StartsWithSegments(PathString, StringComparison)

Détermine si le début de cette PathString instance correspond au spécifié PathString lorsqu’il est comparé à l’aide de l’option de comparaison spécifiée.

public:
 bool StartsWithSegments(Microsoft::AspNetCore::Http::PathString other, StringComparison comparisonType);
public bool StartsWithSegments (Microsoft.AspNetCore.Http.PathString other, StringComparison comparisonType);
member this.StartsWithSegments : Microsoft.AspNetCore.Http.PathString * StringComparison -> bool
Public Function StartsWithSegments (other As PathString, comparisonType As StringComparison) As Boolean

Paramètres

other
PathString

PathString à comparer.

comparisonType
StringComparison

Une des valeurs d’énumération qui détermine la façon dont cette PathString valeur et sont comparées.

Retours

true si la valeur correspond au début de cette chaîne ; sinon, false.

S’applique à

StartsWithSegments(PathString, PathString, PathString)

Détermine si le début de cette PathString instance correspond au spécifié PathString et retourne les segments correspondants et restants.

public:
 bool StartsWithSegments(Microsoft::AspNetCore::Http::PathString other, [Runtime::InteropServices::Out] Microsoft::AspNetCore::Http::PathString % matched, [Runtime::InteropServices::Out] Microsoft::AspNetCore::Http::PathString % remaining);
public bool StartsWithSegments (Microsoft.AspNetCore.Http.PathString other, out Microsoft.AspNetCore.Http.PathString matched, out Microsoft.AspNetCore.Http.PathString remaining);
member this.StartsWithSegments : Microsoft.AspNetCore.Http.PathString * PathString * PathString -> bool
Public Function StartsWithSegments (other As PathString, ByRef matched As PathString, ByRef remaining As PathString) As Boolean

Paramètres

other
PathString

PathString à comparer.

matched
PathString

Segments correspondants avec la casse d’origine dans la valeur source.

remaining
PathString

Segments restants après la correspondance.

Retours

true si la valeur correspond au début de cette chaîne ; sinon, false.

S’applique à

StartsWithSegments(PathString, StringComparison, PathString)

Détermine si le début de cette PathString instance correspond au spécifié PathString lors de la comparaison à l’aide de l’option de comparaison spécifiée et retourne les segments restants.

public:
 bool StartsWithSegments(Microsoft::AspNetCore::Http::PathString other, StringComparison comparisonType, [Runtime::InteropServices::Out] Microsoft::AspNetCore::Http::PathString % remaining);
public bool StartsWithSegments (Microsoft.AspNetCore.Http.PathString other, StringComparison comparisonType, out Microsoft.AspNetCore.Http.PathString remaining);
member this.StartsWithSegments : Microsoft.AspNetCore.Http.PathString * StringComparison * PathString -> bool
Public Function StartsWithSegments (other As PathString, comparisonType As StringComparison, ByRef remaining As PathString) As Boolean

Paramètres

other
PathString

PathString à comparer.

comparisonType
StringComparison

Une des valeurs d’énumération qui détermine la façon dont cette PathString valeur et sont comparées.

remaining
PathString

Segments restants après la correspondance.

Retours

true si la valeur correspond au début de cette chaîne ; sinon, false.

S’applique à

StartsWithSegments(PathString, StringComparison, PathString, PathString)

Détermine si le début de cette PathString instance correspond au spécifié PathString lorsqu’il est comparé à l’aide de l’option de comparaison spécifiée et retourne les segments correspondants et restants.

public:
 bool StartsWithSegments(Microsoft::AspNetCore::Http::PathString other, StringComparison comparisonType, [Runtime::InteropServices::Out] Microsoft::AspNetCore::Http::PathString % matched, [Runtime::InteropServices::Out] Microsoft::AspNetCore::Http::PathString % remaining);
public bool StartsWithSegments (Microsoft.AspNetCore.Http.PathString other, StringComparison comparisonType, out Microsoft.AspNetCore.Http.PathString matched, out Microsoft.AspNetCore.Http.PathString remaining);
member this.StartsWithSegments : Microsoft.AspNetCore.Http.PathString * StringComparison * PathString * PathString -> bool
Public Function StartsWithSegments (other As PathString, comparisonType As StringComparison, ByRef matched As PathString, ByRef remaining As PathString) As Boolean

Paramètres

other
PathString

PathString à comparer.

comparisonType
StringComparison

Une des valeurs d’énumération qui détermine la façon dont cette PathString valeur et sont comparées.

matched
PathString

Segments correspondants avec la casse d’origine dans la valeur source.

remaining
PathString

Segments restants après la correspondance.

Retours

true si la valeur correspond au début de cette chaîne ; sinon, false.

S’applique à