Class LocationMarkerId
Unique identifier for a location in native or bilingual content; used to associated locations with messages in calls to LocationMark(LocationMarkerId) and ReportMessage(Object, String, ErrorLevel, String, LocationMarkerId, LocationMarkerId).
Inheritance
System.Object
LocationMarkerId
Implements
System.ICloneable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Sdl.FileTypeSupport.Framework.NativeApi
Assembly: Sdl.FileTypeSupport.Framework.Core.dll
Syntax
public class LocationMarkerId : ICloneable
Remarks
The default constructor generates a guaranteed unique identifier (a GUID).
Constructors
LocationMarkerId()
A guaranteed unique id
Declaration
public LocationMarkerId()
LocationMarkerId(String)
A specified id
Declaration
public LocationMarkerId(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id |
Properties
Id
The actual marker id as a string
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Clone()
Clones the id
Declaration
public object Clone()
Returns
Type | Description |
---|---|
System.Object |
Equals(Object)
True
if the objects have the same id.
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)
GetHashCode()
Hash code based on the id
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
ToString()
The id as a string
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
Implements
System.ICloneable