VssStringComparer.EndsWith Method
Namespace: Microsoft.VisualStudio.Services.Common
Assembly: Microsoft.VisualStudio.Services.Common (in Microsoft.VisualStudio.Services.Common.dll)
Syntax
'Declaration
Public Function EndsWith ( _
main As String, _
pattern As String _
) As Boolean
public bool EndsWith(
string main,
string pattern
)
public:
bool EndsWith(
String^ main,
String^ pattern
)
member EndsWith :
main:string *
pattern:string -> bool
public function EndsWith(
main : String,
pattern : String
) : boolean
Parameters
- main
Type: System.String
- pattern
Type: System.String
Return Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.