TextCompositionManager.CompleteComposition(TextComposition) Method
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.
Completes a specified text composition.
public:
static bool CompleteComposition(System::Windows::Input::TextComposition ^ composition);
[System.Security.SecurityCritical]
public static bool CompleteComposition (System.Windows.Input.TextComposition composition);
public static bool CompleteComposition (System.Windows.Input.TextComposition composition);
[<System.Security.SecurityCritical>]
static member CompleteComposition : System.Windows.Input.TextComposition -> bool
static member CompleteComposition : System.Windows.Input.TextComposition -> bool
Public Shared Function CompleteComposition (composition As TextComposition) As Boolean
Parameters
- composition
- TextComposition
A TextComposition object to complete.
Returns
true
if the text composition was successfully completed; otherwise, false
.
- Attributes
Exceptions
Raised when composition is null
.
Raised when there is no input manager associated with composition, or when the text composition is already marked as completed.
Applies to
See also
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา