Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ITypeLib::IsName Method (String^, Int32)

 

Indicates whether a passed-in string contains the name of a type or member described in the library.

Namespace:   System.Runtime.InteropServices.ComTypes
Assembly:  mscorlib (in mscorlib.dll)

bool IsName(
	String^ szNameBuf,
	int lHashVal
)

Parameters

szNameBuf
Type: System::String^

The string to test. This is an in/out parameter.

lHashVal
Type: System::Int32

The hash value of szNameBuf.

Return Value

Type: System::Boolean

true if szNameBuf was found in the type library; otherwise, false.

If the type library contains the string specified by the szNameBuf parameter, szNameBuf is overwritten with the name found in the type library, using the casing found in the type library. For example, if the type library contains the string "aBc" and the FindName method passes "abc" as the szNameBuf parameter, szNameBuf becomes "aBc" when the method returns.

For additional information about ITypeLib::IsName, see the MSDN Library.

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show:
© 2017 Microsoft