A Sandcastle Documented Class Library

# IMetadataService SetElementMetadata Method (IDataElementStructure, DataElementMetadata)

Sets the metadata information for one data element in the specified structure.

Namespace: Dundas.BI.Data.Metadata
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    void SetElementMetadata(
    	IDataElementStructure dataStructure,
    	DataElementMetadata element
    )

    Sub SetElementMetadata (
    	dataStructure As IDataElementStructure,
    	element As DataElementMetadata
    )

    void SetElementMetadata(
    	IDataElementStructure^ dataStructure,
    	DataElementMetadata^ element
    )

    abstract SetElementMetadata :
            dataStructure : IDataElementStructure *
            element : DataElementMetadata -> unit

#### Parameters

dataStructure
  Type: Dundas.BI.Data.Metadata
  IDataElementStructure
  The structure.
element
  Type: Dundas.BI.Data.Metadata
  DataElementMetadata
  The element.

Exceptions

Exception | Condition
--- | ---
ArgumentNullException | dataStructure or element is .
ValidationException | The specified element metadata is invalid.

See Also

#### Reference

IMetadataService Interface
SetElementMetadata Overload
Dundas.BI.Data.Metadata Namespace