IDirList.Add(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a string to a directory list.
public:
int Add(System::String ^ bstrItem);
public:
int Add(Platform::String ^ bstrItem);
int Add(std::wstring const & bstrItem);
[System.Runtime.InteropServices.DispId(1610743817)]
public int Add (string bstrItem);
[<System.Runtime.InteropServices.DispId(1610743817)>]
abstract member Add : string -> int
Public Function Add (bstrItem As String) As Integer
Parameters
- bstrItem
- String
[in] A string to add to the directory listing.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
- Attributes