Share via


IVsPublishableProjectCfg.GetPublishProperty(UInt32, Object) Method

Definition

Retrieves the value of a publish property by property type.

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

Parameters

propid
UInt32

[in] Integer. The type of property to retrieve. A value from the __VSPUBLISHOPTS enumeration.

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.

Remarks

COM Signature

From vsshell80.idl:

[C++]

HRESULT IVsPublishableProjectCfg::GetPublishProperty(  
   [in] VSPUBLISHOPTS propid,   
   [out] VARIANT *pvar  
);  

Applies to