DocumentationCommentId.CreateDeclarationId(ISymbol) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an id string used by external documentation comment files to identify declarations of types, namespaces, methods, properties, etc.
public:
static System::String ^ CreateDeclarationId(Microsoft::CodeAnalysis::ISymbol ^ symbol);
public static string CreateDeclarationId (Microsoft.CodeAnalysis.ISymbol symbol);
public static string? CreateDeclarationId (Microsoft.CodeAnalysis.ISymbol symbol);
static member CreateDeclarationId : Microsoft.CodeAnalysis.ISymbol -> string
Public Shared Function CreateDeclarationId (symbol As ISymbol) As String
Parameters
- symbol
- ISymbol
Returns
The documentation comment Id for this symbol, if it can be created. null
if it cannot be.
Exceptions
If symbol
is null
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.