TlbImpTask.

ExtractTypeLibPath(string) Method

Summary

Returns the path of the type library, removing the identifier of the type library from the specified string.
Assembly
NAnt.Win32.dll
Namespace
NAnt.Win32.Tasks
Containing Type
TlbImpTask

Syntax

public static string ExtractTypeLibPath(string path)

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.

Parameters

Name Type Description
path string The path from which to extract the path of the type library.

Return Value

Type Description
string The path of the type library without the type library identifier.