VCCodeMacro.IsCaseSensitive Property
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.
Gets a value indicating whether a code element is case-sensitive.
public:
property bool IsCaseSensitive { bool get(); };
public:
property bool IsCaseSensitive { bool get(); };
[System.Runtime.InteropServices.DispId(513)]
public bool IsCaseSensitive { [System.Runtime.InteropServices.DispId(513)] [System.Runtime.InteropServices.TypeLibFunc(System.Runtime.InteropServices.TypeLibFuncFlags.FNonBrowsable)] get; }
[<System.Runtime.InteropServices.DispId(513)>]
[<get: System.Runtime.InteropServices.DispId(513)>]
[<get: System.Runtime.InteropServices.TypeLibFunc(System.Runtime.InteropServices.TypeLibFuncFlags.FNonBrowsable)>]
member this.IsCaseSensitive : bool
Public ReadOnly Property IsCaseSensitive As Boolean
Property Value
true if a code element is case-sensitive; otherwise, false.
- Attributes
Examples
This example iterates through all global VCCodeElement objects in a file and displays the name of those objects that are case-sensitive.
Sub CaseSensitiveObjects()
Dim vcCM As VCCodeModel
Dim vcCodeElement As VCCodeElement
vcCM = DTE.Solution.Item(1).CodeModel
For Each vcCodeElement In vcCM.CodeElements
If (vcCodeElement.IsCaseSensitive) Then
MsgBox(vcCodeElement.Name + " is case-sensitive.")
End If
Next
End Sub