共用方式為


IDirListSite.SetSite(Object) Method

Definition

Sets the site, the container for the directory list.

public:
 int SetSite(System::Object ^ __MIDL_0011);
public:
 int SetSite(Platform::Object ^ __MIDL_0011);
int SetSite(winrt::Windows::Foundation::IInspectable const & __MIDL_0011);
public int SetSite (object __MIDL_0011);
abstract member SetSite : obj -> int
Public Function SetSite (__MIDL_0011 As Object) As Integer

Parameters

__MIDL_0011
Object

Pointer to the IUnknown interface of the object containing the directory list.

Returns

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

Applies to