-
Notifications
You must be signed in to change notification settings - Fork 20
LinkAttribute
This class represents a single name, value pair for a link attribute as represented by the CORE Link Format document. Link attributes include things such as 'Resource Types', 'Interface Descriptors' and 'Content Types'.
Link attributes are contained in a dictionary associated with a resource.
Currently, while any object can be set as an attribute, only Boolean, Int32 and String values will be correctly represented.
IntValue: Return the value as an integer. If the value is not an integer, return a value of -1.
Name: Retrieve the name of the link attribute.
**StringValue:: Retrieve the value as a string. If the value is not a string, return a value of null.
Value: Return the value of the link attribute.
Serialize: Write the name, value pair out to the string builder.
ToString: Return the name, value pair as a string.