Share via


IVsPublishableProjectCfg.GetPublishProperty Method

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)

Syntax

'Declaration
Function GetPublishProperty ( _
    propid As UInteger, _
    <OutAttribute> ByRef pvar As Object _
) As Integer
int GetPublishProperty(
    uint propid,
    out Object pvar
)
int GetPublishProperty(
    [InAttribute] unsigned int propid, 
    [OutAttribute] Object^% pvar
)
abstract GetPublishProperty : 
        propid:uint32 * 
        pvar:Object byref -> int
function GetPublishProperty(
    propid : uint, 
    pvar : Object
) : int

Parameters

  • propid
    Type: UInt32

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

  • pvar
    Type: Object%

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

Return Value

Type: Int32
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
);

.NET Framework Security

See Also

Reference

IVsPublishableProjectCfg Interface

Microsoft.VisualStudio.Shell.Interop Namespace