C# 클래스 SchemaWrapperTools.SchemaDataWrapper

파일 보기 프로젝트 열기: AMEE/revit 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
SchemaDataWrapper ( ) : System

For serialization only -- Do not use.

메소드 상세

AddData() 공개 메소드

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"
리턴 void

SchemaDataWrapper() 공개 메소드

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
리턴 System