Class PicklistItems
Inheritance
System.Object
PicklistItems
Implements
System.Collections.IEnumerable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Sdl.LanguagePlatform.TranslationMemory.dll
public class PicklistItems : IEnumerable<PicklistItem>, IEnumerable
Constructors
Declaration
Declaration
public PicklistItems(PicklistItems other)
Parameters
Methods
Declaration
public void Add(PicklistItem pli)
Parameters
Declaration
public void Add(PicklistItem pli, bool ignoreDups)
Parameters
Type |
Name |
Description |
PicklistItem |
pli |
|
System.Boolean |
ignoreDups |
|
Declaration
public PicklistItem Add(string itemName)
Parameters
Type |
Name |
Description |
System.String |
itemName |
|
Returns
Declaration
Declaration
public bool Contains(PicklistItem item)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public bool Contains(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
Declaration
public IEnumerator<PicklistItem> GetEnumerator()
Returns
Type |
Description |
System.Collections.Generic.IEnumerator<PicklistItem> |
|
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
Declaration
public List<string> GetNames()
Returns
Type |
Description |
System.Collections.Generic.List<System.String> |
|
Declaration
public PicklistItem Lookup(int id)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
Returns
Declaration
public PicklistItem Lookup(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Explicit Interface Implementations
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type |
Description |
System.Collections.IEnumerator |
|
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable