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
'Declaración
Function GetPublishProperty ( _
propid As UInteger, _
<OutAttribute> ByRef pvar As Object _
) As Integer
'Uso
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
- 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.
Remarks
COM Signature
From vsshell80.idl:
[C++]
HRESULT IVsPublishableProjectCfg::GetPublishProperty(
[in] VSPUBLISHOPTS propid,
[out] VARIANT *pvar
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsPublishableProjectCfg Interface