Click or drag to resize

P4MapApi Class

P4MapApi: .NET wrapper for the MapApi object in the p4api dll.
Inheritance Hierarchy
SystemObject
  Perforce.P4P4MapApi

Namespace:  Perforce.P4
Assembly:  p4api.net (in p4api.net.dll) Version: 2023.2.258.5793
Syntax
public class P4MapApi : IDisposable

The P4MapApi type exposes the following members.

Constructors
  NameDescription
Public methodP4MapApi(Boolean)
Create a new P4MapApi
Public methodP4MapApi(P4Server)
Create a new P4MapApi
Top
Properties
  NameDescription
Public propertyCount
The number of entries in the map
Top
Methods
  NameDescription
Public methodClear
Clear all the data in the map
Public methodDispose
Free the wrapped native object
Public methodEquals (Inherited from Object.)
Protected methodFinalize
Delete the P4MapApi object and free the native object from the dll.
(Overrides ObjectFinalize.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetLeft
Return the left side of the specified entry in the map
Public methodGetRight
Return the right side of the specified entry in the map
Public methodGetType (Inherited from Object.)
Public methodGetType(Int32)
Return the type of the specified entry in the map
Public methodInsert(String, P4MapApiType)
Adds a new entry in the map
Public methodInsert(String, String, P4MapApiType)
Adds a new entry in the map
Public methodStatic memberJoin(P4MapApi, P4MapApi)
Combine two MapApis to create a new MapApi
Public methodStatic memberJoin(P4MapApi, P4MapApiDirection, P4MapApi, P4MapApiDirection)
Combine two MapApis to create a new MapApi
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Public methodTranslate
Translate a file path from on side of the mapping to the other
Top
See Also