IVsPublishableProjectCfg.GetPublishProperty Method (UInt32, Object)

 

Retrieves the value of a publish property by property type.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int GetPublishProperty(
	uint propid,
	out object pvar
)

Parameters

propid
Type: System.UInt32

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

pvar
Type: System.Object

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

Return Value

Type: System.Int32

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

From vsshell80.idl:

[C++]

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