VCCodeNamespace.DocComment Property

Definition

Gets the document comment for the current code model element.

C++/CX
public:
 property Platform::String ^ DocComment { Platform::String ^ get(); void set(Platform::String ^ value); };

Property Value

The document comment for the current code model element.

Attributes

Remarks

DocComment returns the special documentation comment or attribute if there is one in the code. If the language implementing the code model does not have a documentation comment mechanism, or if there is none associated with the code element, then DocComment returns an empty string.

Notiz

This property is read-only for code elements from Visual Basic source code.

Applies to

Produkt Versiounen
Visual Studio SDK 2015, 2017, 2019, 2022