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

‘선언
Function GetPublishProperty ( _
    propid As UInteger, _
    <OutAttribute> ByRef pvar As Object _
) As Integer
‘사용 방법
Dim instance As IVsPublishableProjectCfg
Dim propid As UInteger
Dim pvar As Object
Dim returnValue As Integer

returnValue = instance.GetPublishProperty(propid, _
    pvar)
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

  • 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.

Remarks

COM Signature

From vsshell80.idl:

[C++]

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

.NET Framework Security

See Also

Reference

IVsPublishableProjectCfg Interface

IVsPublishableProjectCfg Members

Microsoft.VisualStudio.Shell.Interop Namespace