IVsFindScope.GetUIName(String) Method

Definition

Returns the name displayed in Find UI

public:
 int GetUIName([Runtime::InteropServices::Out] System::String ^ % pbsName);
int GetUIName([Runtime::InteropServices::Out] std::wstring const & & pbsName);
public int GetUIName (out string pbsName);
abstract member GetUIName : string -> int
Public Function GetUIName (ByRef pbsName As String) As Integer

Parameters

pbsName
String

[out] Displayed name.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textfind.idl:

HRESULT IVsFindScope::GetUIName(  
   [out,retval] BSTR * pbsName  
);  

Applies to