VCCodeVariable.DocComment 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取当前代码模型元素的文档注释。
public:
property System::String ^ DocComment { System::String ^ get(); void set(System::String ^ value); };
public:
property Platform::String ^ DocComment { Platform::String ^ get(); void set(Platform::String ^ value); };
[System.Runtime.InteropServices.DispId(39)]
public string DocComment { [System.Runtime.InteropServices.DispId(39)] [System.Runtime.InteropServices.TypeLibFunc(System.Runtime.InteropServices.TypeLibFuncFlags.FNonBrowsable)] get; [System.Runtime.InteropServices.DispId(39)] [System.Runtime.InteropServices.TypeLibFunc(System.Runtime.InteropServices.TypeLibFuncFlags.FNonBrowsable)] set; }
[<System.Runtime.InteropServices.DispId(39)>]
[<get: System.Runtime.InteropServices.DispId(39)>]
[<get: System.Runtime.InteropServices.TypeLibFunc(System.Runtime.InteropServices.TypeLibFuncFlags.FNonBrowsable)>]
[<set: System.Runtime.InteropServices.DispId(39)>]
[<set: System.Runtime.InteropServices.TypeLibFunc(System.Runtime.InteropServices.TypeLibFuncFlags.FNonBrowsable)>]
member this.DocComment : string with get, set
Public Property DocComment As String
属性值
当前代码模型元素的文档注释。
- 属性
注解
DocComment 如果代码中有一个,则返回特殊文档注释或属性。 如果实现代码模型的语言没有文档注释机制,或没有与代码元素相关联的任何内容,则 DocComment 返回一个空字符串。
备注
DocComment 对于源代码中的代码元素,只读 Visual Basic 。