Show / Hide Table of Contents

# Class ObjSet

ObjSet is a lightweight container that can hold a collection of SDF objects.

##### Inheritance

object
ObjSet

##### Implements

IDisposable

##### Inherited Members

object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

###### Namespace: pdftron.SDF

###### Assembly: PDFNet.dll

##### Syntax

    public class ObjSet : IDisposable

### Constructors

#### ObjSet()

Instantiates a new obj set.

##### Declaration

    public ObjSet()

### Methods

#### CreateArray()

Creates the array.

##### Declaration

    public Obj CreateArray()

##### Returns

Type | Description
--- | ---
Obj | the obj

##### Exceptions

Type | Condition
--- | ---
PDFNetException | PDFNetException the PDFNet exception

#### CreateBool(bool)

Creates the bool.

##### Declaration

    public Obj CreateBool(bool value)

##### Parameters

Type | Name | Description
--- | --- | ---
bool | value | the value

##### Returns

Type | Description
--- | ---
Obj | the obj

##### Exceptions

Type | Condition
--- | ---
PDFNetException | PDFNetException the PDFNet exception

#### CreateDict()

Creates the dict.

##### Declaration

    public Obj CreateDict()

##### Returns

Type | Description
--- | ---
Obj | the obj

##### Exceptions

Type | Condition
--- | ---
PDFNetException | PDFNetException the PDFNet exception

#### CreateName(string)

Creates the name.

##### Declaration

    public Obj CreateName(string name)

##### Parameters

Type | Name | Description
--- | --- | ---
string | name | the name

##### Returns

Type | Description
--- | ---
Obj | the obj

##### Exceptions

Type | Condition
--- | ---
PDFNetException | PDFNetException the PDFNet exception

#### CreateNull()

Creates the null.

##### Declaration

    public Obj CreateNull()

##### Returns

Type | Description
--- | ---
Obj | the obj

##### Exceptions

Type | Condition
--- | ---
PDFNetException | PDFNetException the PDFNet exception

#### CreateNumber(double)

Creates the number.

##### Declaration

    public Obj CreateNumber(double value)

##### Parameters

Type | Name | Description
--- | --- | ---
double | value | the value

##### Returns

Type | Description
--- | ---
Obj | the obj

##### Exceptions

Type | Condition
--- | ---
PDFNetException | PDFNetException the PDFNet exception

#### CreateString(string)

Creates the string.

##### Declaration

    public Obj CreateString(string value)

##### Parameters

Type | Name | Description
--- | --- | ---
string | value | the value

##### Returns

Type | Description
--- | ---
Obj | the obj

##### Exceptions

Type | Condition
--- | ---
PDFNetException | PDFNetException the PDFNet exception

#### Dispose()

Releases all resources used by the ObjSet

##### Declaration

    public override sealed void Dispose()

#### Dispose(bool)

##### Declaration

    [HandleProcessCorruptedStateExceptions]
    protected virtual void Dispose(bool A_0)

##### Parameters

Type | Name | Description
--- | --- | ---
bool | A_0 |

#### ~ObjSet()

Allows an ObjSet to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.

##### Declaration

    protected ~ObjSet()

### Implements

IDisposable