CatalogManager.GetPropertyAttributes

Ee811492.c++_on(en-US,CS.10).gifEe811492.vb_off(en-US,CS.10).gif

Use this method to return the attributes of the specified property.

Definition

Function GetPropertyAttributes(strPropertyName As String) As _Recordset

Parameters

strPropertyName

A String that contains the name of the property whose attributes will be returned.

Return Values

If this method completes successfully, it returns a Recordset object that contains the list of attributes for the specified property

Error Values

This method sets the Number property of the global Err object to S_OK (&H00000000) to indicate success and to standard COM error values to indicate failure. For more information about standard COM errors, see Standard COM Errors. Additional information may be available using the global Err object. In particular, the Description property may contain a text description of the error.

Remarks

The recordset returned by this method contains valid data only if the method completes successfully.

This method returns a single row Recordset object containing the requested property. For more information about the fields in this Recordset object, see PropertyAttribute Recordset.

For more information about memory ownership issues related to COM property and method parameters, see Managing COM Parameter Memory.

Example

Set rsPropAttribs = myCatalogManager.GetPropertyAttributes("Size")

See Also

CatalogManager Object

CatalogManager.SetPropertyAttributes


All rights reserved.