Struct XbimInstanceHandle
A lightweight structure for obtaining a handle to an Ifc Instance, the instance is not loaded into memory unless the GetInstance function is called
IfcInstanceHandle are specific to the model they were generated from
Inherited Members
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Assembly: Xbim.Common.dll
Syntax
public struct XbimInstanceHandle
Constructors
|
Improve this Doc
View Source
XbimInstanceHandle(IModel, Int32, Int16)
Declaration
public XbimInstanceHandle(IModel model, int entityLabel, short type = 0)
Parameters
Type |
Name |
Description |
IModel |
model |
|
System.Int32 |
entityLabel |
|
System.Int16 |
type |
|
|
Improve this Doc
View Source
XbimInstanceHandle(IModel, Int32, Type)
Declaration
public XbimInstanceHandle(IModel model, int entityLabel, Type type)
Parameters
Type |
Name |
Description |
IModel |
model |
|
System.Int32 |
entityLabel |
|
System.Type |
type |
|
|
Improve this Doc
View Source
XbimInstanceHandle(IModel, Nullable<Int32>, Nullable<Int16>)
Declaration
public XbimInstanceHandle(IModel model, int? label, short? type)
Parameters
Type |
Name |
Description |
IModel |
model |
|
System.Nullable<System.Int32> |
label |
|
System.Nullable<System.Int16> |
type |
|
|
Improve this Doc
View Source
XbimInstanceHandle(IPersistEntity)
Declaration
public XbimInstanceHandle(IPersistEntity entity)
Parameters
Fields
|
Improve this Doc
View Source
EntityLabel
Declaration
public readonly int EntityLabel
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
EntityTypeId
Declaration
public short EntityTypeId
Field Value
Type |
Description |
System.Int16 |
|
|
Improve this Doc
View Source
Model
Declaration
public readonly IModel Model
Field Value
Properties
|
Improve this Doc
View Source
EntityExpressType
Declaration
public readonly ExpressType EntityExpressType { get; }
Property Value
|
Improve this Doc
View Source
EntityType
Declaration
public readonly Type EntityType { get; }
Property Value
Type |
Description |
System.Type |
|
|
Improve this Doc
View Source
IsEmpty
Declaration
public readonly bool IsEmpty { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object b)
Parameters
Type |
Name |
Description |
System.Object |
b |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.ValueType.Equals(System.Object)
|
Improve this Doc
View Source
GetEntity()
Declaration
public IPersistEntity GetEntity()
Returns
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
Operators
|
Improve this Doc
View Source
Equality(XbimInstanceHandle, XbimInstanceHandle)
Declaration
public static bool operator ==(XbimInstanceHandle a, XbimInstanceHandle b)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Inequality(XbimInstanceHandle, XbimInstanceHandle)
Declaration
public static bool operator !=(XbimInstanceHandle a, XbimInstanceHandle b)
Parameters
Returns
Type |
Description |
System.Boolean |
|