Compartilhar via


IVsIntellisenseProjectHost.GetHostProperty(UInt32, Object) Method

Definition

Retrieves the string value of a host property.

public:
 int GetHostProperty(System::UInt32 dwPropID, [Runtime::InteropServices::Out] System::Object ^ % pvar);
int GetHostProperty(unsigned int dwPropID, [Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & pvar);
public int GetHostProperty (uint dwPropID, out object pvar);
abstract member GetHostProperty : uint32 * obj -> int
Public Function GetHostProperty (dwPropID As UInteger, ByRef pvar As Object) As Integer

Parameters

dwPropID
UInt32

[in] A value from the HOSTPROPID enumeration such as HOSTPROPID_PROJECTNAME.

pvar
Object

[out] Pointer to a variant containing the property value.

Returns

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

Applies to