VersionControlPath.GetExtension Method
Gets the file name extension from a version control specification.
Namespace: Microsoft.TeamFoundation.VersionControl.Common
Assembly: Microsoft.TeamFoundation.VersionControl.Common (in Microsoft.TeamFoundation.VersionControl.Common.dll)
Syntax
'Declaration
Public Shared Function GetExtension ( _
item As String _
) As String
public static string GetExtension(
string item
)
public:
static String^ GetExtension(
String^ item
)
static member GetExtension :
item:string -> string
public static function GetExtension(
item : String
) : String
Parameters
- item
Type: System.String
Return Value
Type: System.String
The extension, which does not contain the period.
.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.