共用方式為


PathString.StartsWithSegments Method

 

Namespace:   Microsoft.Owin
Assembly:  Microsoft.Owin (in Microsoft.Owin.dll)

Overload List

Name Description
System_CAPS_pubmethod StartsWithSegments(PathString)

Checks if this instance starts with or exactly matches the other instance. Only full segments are matched.

System_CAPS_pubmethod StartsWithSegments(PathString, PathString)

Checks if this instance starts with or exactly matches the other instance. Only full segments are matched.

See Also

PathString Structure
Microsoft.Owin Namespace

Return to top

PathString.StartsWithSegments Method (PathString)

Checks if this instance starts with or exactly matches the other instance. Only full segments are matched.

Syntax

public bool StartsWithSegments(
    PathString other
)
public:
bool StartsWithSegments(
    PathString other
)
member StartsWithSegments : 
        other:PathString -> bool
Public Function StartsWithSegments (
    other As PathString
) As Boolean

Parameters

Return Value

Type: System.Boolean

Returns Boolean.

Return to top

PathString.StartsWithSegments Method (PathString, PathString)

Checks if this instance starts with or exactly matches the other instance. Only full segments are matched.

Syntax

public bool StartsWithSegments(
    PathString other,
    out PathString remaining
)
public:
bool StartsWithSegments(
    PathString other,
    [OutAttribute] PathString% remaining
)
member StartsWithSegments : 
        other:PathString *
        remaining:PathString byref -> bool
Public Function StartsWithSegments (
    other As PathString,
    <OutAttribute> ByRef remaining As PathString
) As Boolean

Parameters

Return Value

Type: System.Boolean

Returns Boolean.

Return to top