NAnt SDK Documentation - v0.92 |

# TlbImpTask.ExtractTypeLibPath Method

Returns the path of the type library, removing the identifier of the type library from the specified string.

[Visual Basic]
Public Shared Function ExtractTypeLibPath( _
ByVal path As String _
) As String
[C#]
public static string ExtractTypeLibPath(
string path
);

#### Parameters

path
  The path from which to extract the path of the type library.

#### Return Value

The path of the type library without the type library identifier.

#### Remarks

An example of a path which includes the identifier of the type library (in this case "2") is `C:\WINDOWS\system32\msvidctl.dll\2`.

#### See Also

TlbImpTask Class | NAnt.Win32.Tasks Namespace