Compartir a través de


IPropertyBag2.GetPropertyInfo(UInt32, UInt32, PROPBAG2[], UInt32) Method

Definition

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

public:
 void GetPropertyInfo(System::UInt32 iProperty, System::UInt32 cProperties, cli::array <Microsoft::VisualStudio::OLE::Interop::PROPBAG2> ^ pPropBag, [Runtime::InteropServices::Out] System::UInt32 % pcProperties);
void GetPropertyInfo(unsigned int iProperty, unsigned int cProperties, std::Array <Microsoft::VisualStudio::OLE::Interop::PROPBAG2> const & pPropBag, [Runtime::InteropServices::Out] unsigned int & pcProperties);
public void GetPropertyInfo (uint iProperty, uint cProperties, Microsoft.VisualStudio.OLE.Interop.PROPBAG2[] pPropBag, out uint pcProperties);
abstract member GetPropertyInfo : uint32 * uint32 * Microsoft.VisualStudio.OLE.Interop.PROPBAG2[] * uint32 -> unit
Public Sub GetPropertyInfo (iProperty As UInteger, cProperties As UInteger, pPropBag As PROPBAG2(), ByRef pcProperties As UInteger)

Parameters

iProperty
UInt32

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

cProperties
UInt32

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

pPropBag
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
UInt32

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

Applies to