Click or drag to resize

ViewMap Class

Maps one or more Perforce file specs to zero, one, or more other Perforce file specs.
Inheritance Hierarchy
SystemObject
  System.Collections.GenericListMapEntry
    Perforce.P4ViewMap

Namespace:  Perforce.P4
Assembly:  p4api.net (in p4api.net.dll) Version: 2018.1.163.6632 (2018.1.163.6632)
Syntax
public class ViewMap : List<MapEntry>

The ViewMap type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCapacity
Gets or sets the total number of elements the internal data structure can hold without resizing.
(Inherited from ListMapEntry.)
Public propertyCount (Inherited from ListMapEntry.)
Public propertyItem
Gets or sets the element at the specified index.
(Inherited from ListMapEntry.)
Top
Methods
  NameDescription
Public methodAdd(String)
Add a line to the end of the view
Public methodAdd(T) (Inherited from ListMapEntry.)
Public methodAdd(String, String, MapType)
Add a line to the end of the view
Public methodAddRange (Inherited from ListMapEntry.)
Public methodAsReadOnly (Inherited from ListMapEntry.)
Public methodBinarySearch(T)
Searches the entire sorted ListT for an element using the default comparer and returns the zero-based index of the element.
(Inherited from ListMapEntry.)
Public methodBinarySearch(T, IComparerT)
Searches the entire sorted ListT for an element using the specified comparer and returns the zero-based index of the element.
(Inherited from ListMapEntry.)
Public methodBinarySearch(Int32, Int32, T, IComparerT)
Searches a range of elements in the sorted ListT for an element using the specified comparer and returns the zero-based index of the element.
(Inherited from ListMapEntry.)
Public methodClear (Inherited from ListMapEntry.)
Public methodContains (Inherited from ListMapEntry.)
Public methodConvertAllTOutput (Inherited from ListMapEntry.)
Public methodCopyTo(T) (Inherited from ListMapEntry.)
Public methodCopyTo(T, Int32) (Inherited from ListMapEntry.)
Public methodCopyTo(Int32, T, Int32, Int32)
Copies a range of elements from the ListT to a compatible one-dimensional array, starting at the specified index of the target array.
(Inherited from ListMapEntry.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExists (Inherited from ListMapEntry.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFind
Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire ListT.
(Inherited from ListMapEntry.)
Public methodFindAll
Retrieves all the elements that match the conditions defined by the specified predicate.
(Inherited from ListMapEntry.)
Public methodFindIndex(PredicateT)
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the entire ListT.
(Inherited from ListMapEntry.)
Public methodFindIndex(Int32, PredicateT)
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the ListT that extends from the specified index to the last element.
(Inherited from ListMapEntry.)
Public methodFindIndex(Int32, Int32, PredicateT)
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the ListT that starts at the specified index and contains the specified number of elements.
(Inherited from ListMapEntry.)
Public methodFindLast
Searches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire ListT.
(Inherited from ListMapEntry.)
Public methodFindLastIndex(PredicateT)
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the entire ListT.
(Inherited from ListMapEntry.)
Public methodFindLastIndex(Int32, PredicateT)
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the ListT that extends from the first element to the specified index.
(Inherited from ListMapEntry.)
Public methodFindLastIndex(Int32, Int32, PredicateT)
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the ListT that contains the specified number of elements and ends at the specified index.
(Inherited from ListMapEntry.)
Public methodForEach (Inherited from ListMapEntry.)
Public methodGetEnumerator (Inherited from ListMapEntry.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetRange (Inherited from ListMapEntry.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf(T) (Inherited from ListMapEntry.)
Public methodIndexOf(T, Int32)
Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the ListT that extends from the specified index to the last element.
(Inherited from ListMapEntry.)
Public methodIndexOf(T, Int32, Int32)
Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the ListT that starts at the specified index and contains the specified number of elements.
(Inherited from ListMapEntry.)
Public methodInsert (Inherited from ListMapEntry.)
Public methodInsertRange (Inherited from ListMapEntry.)
Public methodLastIndexOf(T) (Inherited from ListMapEntry.)
Public methodLastIndexOf(T, Int32)
Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the ListT that extends from the first element to the specified index.
(Inherited from ListMapEntry.)
Public methodLastIndexOf(T, Int32, Int32)
Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the ListT that contains the specified number of elements and ends at the specified index.
(Inherited from ListMapEntry.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove (Inherited from ListMapEntry.)
Public methodRemoveAll
Removes all the elements that match the conditions defined by the specified predicate.
(Inherited from ListMapEntry.)
Public methodRemoveAt (Inherited from ListMapEntry.)
Public methodRemoveRange (Inherited from ListMapEntry.)
Public methodReverse (Inherited from ListMapEntry.)
Public methodReverse(Int32, Int32)
Reverses the order of the elements in the specified range.
(Inherited from ListMapEntry.)
Public methodSort (Inherited from ListMapEntry.)
Public methodSort(IComparerT) (Inherited from ListMapEntry.)
Public methodSort(ComparisonT) (Inherited from ListMapEntry.)
Public methodSort(Int32, Int32, IComparerT) (Inherited from ListMapEntry.)
Public methodStatic memberSplitViewLine
Split a single line from a view specification into left and right parts
Public methodToArray (Inherited from ListMapEntry.)
Public methodToString
Convert to a Perforce server compatible string for a workspace spec
(Overrides ObjectToString.)
Public methodTrimExcess (Inherited from ListMapEntry.)
Public methodTrueForAll (Inherited from ListMapEntry.)
Top
See Also