ITypeLib::IsName Method (String^, Int32)
Indicates whether a passed-in string contains the name of a type or member described in the library.
Assembly: mscorlib (in mscorlib.dll)
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::Booleantrue 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.
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1