Bookmark.LanguageIDOther Özellik
Alır veya ayarlar için dil Bookmark Denetim.
Ad alanı: Microsoft.Office.Tools.Word
Derleme: Microsoft.Office.Tools.Word (Microsoft.Office.Tools.Word.dll içinde)
Sözdizimi
'Bildirim
Property LanguageIDOther As WdLanguageID
Get
Set
WdLanguageID LanguageIDOther { get; set; }
Özellik Değeri
Tür: Microsoft.Office.Interop.Word.WdLanguageID
Birini WdLanguageID değerler.
Açıklamalar
Döndürmek veya bir Microsoft Office Word'ün sağdan sola dil sürümünde oluşturulmuş bir belgeyi Latin metin dilini ayarlamak için önerilen yol budur.
Örnekler
Aşağıdaki kod örneği ekler bir Bookmark ilk paragraf ve ayarlar denetimi LanguageIDOther özelliği için Fransızca.
Bu örnek, bir belge düzeyinde özelleştirme için bulunur.
Private Sub BookmarkLanguageIDOther()
Dim Bookmark1 As Microsoft.Office.Tools.Word.Bookmark = _
Me.Controls.AddBookmark(Me.Paragraphs(1).Range, "Bookmark1")
Bookmark1.LanguageIDOther = Word.WdLanguageID.wdFrench
MessageBox.Show("Bookmark1's LanguageID is set to " & _
Bookmark1.LanguageID.ToString)
End Sub
private void BookmarkLanguageIDOther()
{
Microsoft.Office.Tools.Word.Bookmark bookmark1 =
this.Controls.AddBookmark(this.Paragraphs[1].Range,
"bookmark1");
bookmark1.LanguageIDOther = Word.WdLanguageID.wdFrench;
MessageBox.Show("Bookmark1's LanguageID is set to " +
bookmark1.LanguageID.ToString());
}
.NET Framework Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. kısmen güvenilir kod tarafından Kitaplıklar kullanma.