Class StateCollection
Inheritance
System.Object
System.MarshalByRefObject
StateCollection
Implements
System.Runtime.Remoting.Messaging.IMessageSink
System.IDisposable
Inherited Members
System.MarshalByRefObject.CreateObjRef(System.Type)
System.MarshalByRefObject.GetLifetimeService()
System.MarshalByRefObject.InitializeLifetimeService()
System.MarshalByRefObject.MemberwiseClone(System.Boolean)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: NXOpen.Layer
Assembly: NXOpen.dll
Syntax
public class StateCollection : TransientObject, IMessageSink, IDisposable
Constructors
StateCollection(IntPtr)
Declaration
protected StateCollection(IntPtr ptr)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | ptr |
Methods
FreeResource()
Declaration
protected override void FreeResource()
Overrides
GetState(Int32)
Declaration
public State GetState(int layer)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | layer |
Returns
Type | Description |
---|---|
State |
SetState(Int32, State)
Declaration
public void SetState(int layer, State state)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | layer | |
State | state |
SetStateOfCategory(Category, State)
Declaration
public void SetStateOfCategory(Category category, State state)
Parameters
Type | Name | Description |
---|---|---|
Category | category | |
State | state |
Implements
System.Runtime.Remoting.Messaging.IMessageSink
System.IDisposable