C# Class SchemaWrapperTools.SchemaDataWrapper

Afficher le fichier Open project: AMEE/revit Class Usage Examples

Méthodes publiques

Méthode Description
AddData ( string name, System typeIn, UnitType unit, SchemaWrapper subSchema ) : void

Adds a new field to the wrapper's list of fields.

SchemaDataWrapper ( System.Guid schemaId, AccessLevel readAccess, AccessLevel writeAccess, string vendorId, string applicationId, string name, string documentation ) : System

Create a new SchemaDataWrapper

Private Methods

Méthode Description
SchemaDataWrapper ( ) : System

For serialization only -- Do not use.

Method Details

AddData() public méthode

Adds a new field to the wrapper's list of fields.
public AddData ( string name, System typeIn, UnitType unit, SchemaWrapper subSchema ) : void
name string the name of the field
typeIn System the data type of the field
unit UnitType The unit type of the Field (set to UT_Undefined for non-floating point types
subSchema SchemaWrapper The SchemaWrapper of the field's subSchema, if the field is of type "Entity"
Résultat void

SchemaDataWrapper() public méthode

Create a new SchemaDataWrapper
public SchemaDataWrapper ( System.Guid schemaId, AccessLevel readAccess, AccessLevel writeAccess, string vendorId, string applicationId, string name, string documentation ) : System
schemaId System.Guid The Guid of the Schema
readAccess AccessLevel The access level for read permission
writeAccess AccessLevel The access level for write permission
vendorId string The user-registered vendor ID string
applicationId string The application ID from the application manifest
name string The name of the schema
documentation string Descriptive details on the schema
Résultat System