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
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.