Delen via


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

Return Value

Type: System.String
The extension, which does not contain the period.

.NET Framework Security

See Also

Reference

VersionControlPath Class

Microsoft.TeamFoundation.VersionControl.Common Namespace