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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.