Range.Case Property
Returns or sets a WdCharacterCase constant that represents the case of the text in the specified range.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
Usage
Dim range1 As Range
Dim returnValue As WdCharacterCase
returnValue = range1.Case
Dim sampleValue As WdCharacterCase
range1.Case = sampleValue
Syntax
Property Case() As WdCharacterCase
WdCharacterCase Case {get; set;}
property WdCharacterCase^ Case{
WdCharacterCase^ get();
Void set(WdCharacterCase^);
}
public WdCharacterCase get_Case();
public void set_Case(WdCharacterCase);
function get Case() : WdCharacterCase;
function set Case(WdCharacterCase);
Remarks
Some of the constants listed above may not be available to you, depending on the language support (U.S. English, for example) that you’ve selected or installed.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
Range Interface
Microsoft.Office.Interop.Word Namespace