次の方法で共有


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

'宣言
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
)

Parameters

  • iProperty
    Type: System.UInt32
    [in] The zero-based index of the first property for which information is requested.
  • cProperties
    Type: System.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: System.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