CodeRegionMode Enum
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.
Specifies the start or end of a code region.
public enum class CodeRegionMode
public enum CodeRegionMode
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public enum CodeRegionMode
type CodeRegionMode =
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Serializable>]
type CodeRegionMode =
Public Enum CodeRegionMode
- Inheritance
- Attributes
Fields
End | 2 | End of the region. |
None | 0 | Not used. |
Start | 1 | Start of the region. |
Examples
The following code example shows the use of the CodeRegionMode enumeration to specify the start of a region. This example is part of a larger example provided for the CodeRegionDirective class.
cu.StartDirectives.Add(new CodeRegionDirective(CodeRegionMode.Start,
"Compile Unit Region"));
cu.StartDirectives.Add(New CodeRegionDirective(CodeRegionMode.Start, "Compile Unit Region"))
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
الملاحظات
https://aka.ms/ContentUserFeedback.
قريبًا: خلال عام 2024، سنتخلص تدريجيًا من GitHub Issues بوصفها آلية إرسال ملاحظات للمحتوى ونستبدلها بنظام ملاحظات جديد. لمزيد من المعلومات، راجعإرسال الملاحظات وعرضها المتعلقة بـ