共用方式為


IVsItemTypeResolutionService.SetSite(Object) Method

Definition

Sets the site for the type resolution service.

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

Parameters

punkVsItemTypeResolutionSite
Object

[in] Pointer to an IVsItemTypeResolutionSite interface.

Returns

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

Applies to