다음을 통해 공유


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 _
)
‘사용 방법
Dim instance As IPropertyBag2
Dim iProperty As UInteger
Dim cProperties As UInteger
Dim pPropBag As PROPBAG2()
Dim pcProperties As UInteger

instance.GetPropertyInfo(iProperty, cProperties, _
    pPropBag, pcProperties)
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: 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

IPropertyBag2 Members

Microsoft.VisualStudio.OLE.Interop Namespace