Reputation: 1149
How to make reference from XML comment of UpdateChanged
to Long1
field?
public sealed class SystemConfiguration
{
public long Long1;
/// <summary>
/// Make reference to Long1
/// </summary>
public bool UpdateChanged;
}
Upvotes: 6
Views: 1413
Reputation: 57678
You can use <see cref="SystemConfiguration.Long1"/>
.
Visual Studio generates an XML documentation file where each member is assigned an unique ID. You can check the rules for ID generation at:
In this situation the full ID that will be generated is F:YourNamespace.SystemConfiguration.Long1
. However you can use the shorter version because you are in the same class.
Upvotes: 6