Class CreateProcessAttributeList
A list of attributes for process and thread creation.
Inheritance
System.Object
CreateProcessAttributeList
Implements
System.Collections.Generic.ICollection<CreateProcessAttributeList.CreateProcessAttribute>
System.Collections.Generic.IEnumerable<CreateProcessAttributeList.CreateProcessAttribute>
System.Collections.IEnumerable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Fs.Processes
Assembly: Fs.Processes.dll
Syntax
public class CreateProcessAttributeList : ICollection<CreateProcessAttributeList.CreateProcessAttribute>, IEnumerable<CreateProcessAttributeList.CreateProcessAttribute>, IEnumerable
Constructors
| Improve this Doc View SourceCreateProcessAttributeList()
Creates a new instance of CreateProcessAttributeList.
Declaration
public CreateProcessAttributeList()
Properties
| Improve this Doc View SourceCount
Gets the number of attributes in the list.
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceAdd(CreateProcessAttributeList.CreateProcessAttribute)
Adds the item
attribute to the attribute list. Any previous item of the same type is replaced.
Declaration
public void Add(CreateProcessAttributeList.CreateProcessAttribute item)
Parameters
Type | Name | Description |
---|---|---|
CreateProcessAttributeList.CreateProcessAttribute | item | The attribute to add. |
Clear()
Removes all attributes from the list.
Declaration
public void Clear()
Contains(CreateProcessAttributeList.CreateProcessAttribute)
Determines if the item
attribute is part of the list.
Declaration
public bool Contains(CreateProcessAttributeList.CreateProcessAttribute item)
Parameters
Type | Name | Description |
---|---|---|
CreateProcessAttributeList.CreateProcessAttribute | item | The attribute to locate. |
Returns
Type | Description |
---|---|
System.Boolean |
|
GetEnumerator()
Gets an enumerator for the list of attributes.
Declaration
public IEnumerator<CreateProcessAttributeList.CreateProcessAttribute> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<CreateProcessAttributeList.CreateProcessAttribute> | The enumerator. |
Remove(CreateProcessAttributeList.CreateProcessAttribute)
Removes the item
attribute from the list.
Declaration
public bool Remove(CreateProcessAttributeList.CreateProcessAttribute item)
Parameters
Type | Name | Description |
---|---|---|
CreateProcessAttributeList.CreateProcessAttribute | item | The attribute to remove. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Explicit Interface Implementations
| Improve this Doc View SourceICollection<CreateProcessAttributeList.CreateProcessAttribute>.CopyTo(CreateProcessAttributeList.CreateProcessAttribute[], Int32)
Declaration
void ICollection<CreateProcessAttributeList.CreateProcessAttribute>.CopyTo(CreateProcessAttributeList.CreateProcessAttribute[] array, int arrayIndex)
Parameters
Type | Name | Description |
---|---|---|
CreateProcessAttributeList.CreateProcessAttribute[] | array | |
System.Int32 | arrayIndex |
ICollection<CreateProcessAttributeList.CreateProcessAttribute>.IsReadOnly
Declaration
bool ICollection<CreateProcessAttributeList.CreateProcessAttribute>.IsReadOnly { get; }
Returns
Type | Description |
---|---|
System.Boolean |
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator |
Implements
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable