Share via


IPropertyBag2.GetPropertyInfo Method

Gets information for properties in a property bag without actually getting those properties.

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'Declaration
Sub GetPropertyInfo ( _
    iProperty As UInteger, _
    cProperties As UInteger, _
    <OutAttribute> pPropBag As PROPBAG2(), _
    <OutAttribute> ByRef pcProperties As UInteger _
)
void GetPropertyInfo(
    uint iProperty,
    uint cProperties,
    PROPBAG2[] pPropBag,
    out uint pcProperties
)
void GetPropertyInfo(
    [InAttribute] unsigned int iProperty, 
    [InAttribute] unsigned int cProperties, 
    [OutAttribute] array<PROPBAG2>^ pPropBag, 
    [OutAttribute] unsigned int% pcProperties
)
abstract GetPropertyInfo : 
        iProperty:uint32 * 
        cProperties:uint32 * 
        pPropBag:PROPBAG2[] byref * 
        pcProperties:uint32 byref -> unit
function GetPropertyInfo(
    iProperty : uint, 
    cProperties : uint, 
    pPropBag : PROPBAG2[], 
    pcProperties : uint
)

Parameters

  • iProperty
    Type: UInt32

    [in] The zero-based index of the first property for which information is requested.

  • cProperties
    Type: UInt32

    [in] The number of properties for which to get information. This argument specifies the number of array elements in pPropBag.

  • pPropBag
    Type: array<Microsoft.VisualStudio.OLE.Interop.PROPBAG2[]

    [out] The address of an array of PROPBAG2 structures that receive the information for the properties. There must be at least cProperties elements in this array. This argument cannot be NULL.

  • pcProperties
    Type: UInt32%

    [out] The number of properties for which information was retrieved. This argument cannot be NULL.

.NET Framework Security

See Also

Reference

IPropertyBag2 Interface

Microsoft.VisualStudio.OLE.Interop Namespace