I defined the following variable name and method for "HorizontalLocation".
The name description should be no any problem. The method description A should also no problem but it doesn't provide any information about the horizontal location so I modified A to B.Name: HorizontalLocation
Name Description: The runtime object attribute for specifying the horizontal location.
Method Description A: Gets the horizontal location.
Method Description B: Gets the runtime object attribute for horizontal location.
But the method description B sounds not natural. Does it have any problem on method description B? How to make it sounds more natural if it doesn't?
Assuming you are programmatically correct, grammatically all you need is an article:
"Gets the runtime object attribute for the horizontal location."
I don't know your language; so I suggest you double-check that "attribute" is the correct label for the thing you are fetching.