TableRow クラス

定義

テーブルの行。 オブジェクトを xml としてシリアル化されるときに、修飾名は、w:tr です。

[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.TablePropertyExceptions))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.TableRowProperties))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.TableCell))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.CustomXmlCell))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.SdtCell))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.ProofError))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.PermStart))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.PermEnd))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.BookmarkStart))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.BookmarkEnd))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.CommentRangeStart))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.CommentRangeEnd))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.MoveFromRangeStart))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.MoveFromRangeEnd))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.MoveToRangeStart))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.MoveToRangeEnd))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.CustomXmlInsRangeStart))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.CustomXmlInsRangeEnd))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.CustomXmlDelRangeStart))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.CustomXmlDelRangeEnd))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.CustomXmlMoveFromRangeStart))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.CustomXmlMoveFromRangeEnd))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.CustomXmlMoveToRangeStart))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.CustomXmlMoveToRangeEnd))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Office2010.Word.CustomXmlConflictInsertionRangeStart), DocumentFormat.OpenXml.FileFormatVersions.Office2010 | DocumentFormat.OpenXml.FileFormatVersions.Office2013)]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Office2010.Word.CustomXmlConflictInsertionRangeEnd), DocumentFormat.OpenXml.FileFormatVersions.Office2010 | DocumentFormat.OpenXml.FileFormatVersions.Office2013)]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Office2010.Word.CustomXmlConflictDeletionRangeStart), DocumentFormat.OpenXml.FileFormatVersions.Office2010 | DocumentFormat.OpenXml.FileFormatVersions.Office2013)]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Office2010.Word.CustomXmlConflictDeletionRangeEnd), DocumentFormat.OpenXml.FileFormatVersions.Office2010 | DocumentFormat.OpenXml.FileFormatVersions.Office2013)]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.InsertedRun))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.DeletedRun))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.MoveFromRun))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.MoveToRun))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.ContentPart), DocumentFormat.OpenXml.FileFormatVersions.Office2010)]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Office2010.Word.RunConflictInsertion), DocumentFormat.OpenXml.FileFormatVersions.Office2010 | DocumentFormat.OpenXml.FileFormatVersions.Office2013)]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Office2010.Word.RunConflictDeletion), DocumentFormat.OpenXml.FileFormatVersions.Office2010 | DocumentFormat.OpenXml.FileFormatVersions.Office2013)]
public class TableRow : DocumentFormat.OpenXml.OpenXmlCompositeElement
type TableRow = class
    inherit OpenXmlCompositeElement
Public Class TableRow
Inherits OpenXmlCompositeElement
継承
属性

注釈

[ISO/IEC 29500-1 1st Edition]

tr (テーブル行)

この要素は、表のセルが含まれています、1 つのテーブルの行を指定します。 WordprocessingML でテーブルの行は、HTML のtr要素に似ています。

Tr 要素は、書式指定子要素は 1 つ、trPr (§17.4.82)、行のプロパティを定義するには。 各テーブルの行に一意のプロパティは、この要素の子要素によって指定されます。 同様に、テーブルの行は、表のセルを使用するため、行レベルのコンテンツを含めることができます。

表のセルに、行のプロパティ以外の少なくとも 1 つの子要素が含まれていない場合、このドキュメントと見なされますが壊れています。

[: Hello Worldのテキストを含む、1 つのテーブルのセルで構成されるテーブルを考えてみましょう。

Hello World

このテーブルの行の内容は、次の WordprocessingML で表されます。

<w:tr>  
  <w:tc>  
    <w:tcPr>  
      <w:tcW w:w="0" w:type="auto"/>  
    </w:tcPr>  
    <w:p>  
      <w:r>  
        <w:t>Hello, World</w:t>  
      </w:r>  
    </w:p>  
  </w:tc>  
</w:tr>  

Tr 要素には、1 つの行レベルの要素 - このケースでは、表のセルが含まれています。 例終わり]

親要素
customXml (§17.5.1.5)。sdtContent (§17.5.2.35)。tbl (§17.4.38)
子要素
bookmarkEnd (ブックマークの終了) §17.13.6.1
(ブックマークの開始) bookmarkStart §17.13.6.2
commentRangeEnd (コメントのアンカーの範囲の終点) §17.13.4.3
(コメント アンカーの範囲の開始) commentRangeStart §17.13.4.4
customXml (セル レベルのカスタム XML 要素) §17.5.1.4
customXmlDelRangeEnd (カスタム XML マークアップの削除の終了) §17.13.5.4
(カスタム XML マークアップの削除を開始) customXmlDelRangeStart §17.13.5.5
customXmlInsRangeEnd (カスタム XML マークアップの挿入側) §17.13.5.6
(カスタム XML マークアップ挿入開始) customXmlInsRangeStart §17.13.5.7
customXmlMoveFromRangeEnd (カスタム XML マークアップを移動のソース端) §17.13.5.8
(カスタム XML マークアップを移動元の開始) customXmlMoveFromRangeStart §17.13.5.9
customXmlMoveToRangeEnd (カスタム XML マークアップを移動先の場所終了) §17.13.5.10
(カスタム XML マークアップを移動先の場所を開始) customXmlMoveToRangeStart §17.13.5.11
del (削除されたコンテンツの実行) §17.13.5.14
ins (挿入されたコンテンツの実行) §17.13.5.18
moveFrom (移動元のコンテンツの実行) §17.13.5.22
moveFromRangeEnd (移動元の場所のコンテナー - 終了) §17.13.5.23
moveFromRangeStart (移動元の場所のコンテナーの開始) §17.13.5.24
(移動先のコンテンツの実行) を [moveto] §17.13.5.25
moveToRangeEnd (移動先の場所コンテナー - 終了) §17.13.5.27
moveToRangeStart (移動先の場所コンテナーの開始) §17.13.5.28
oMath (Office 数式) §22.1.2.77
oMathPara (Office 数式段落) §22.1.2.78
permEnd (範囲のアクセス許可の終了) §17.13.7.1
(範囲のアクセス許可を起動) permStart §17.13.7.2
proofErr (文章校正エラーのアンカー) §17.13.8.1
sdt (セル レベル構造化ドキュメント タグ) §17.5.2.32
tblPrEx (テーブル レベルのプロパティの例外) §17.4.61
tc (表のセル) §17.4.66
trPr (テーブルの行のプロパティ) §17.4.82
属性 説明
rsidDel (テーブルの行の削除のリビジョン Id) メイン文書から行が削除されたとき、編集のセッションを追跡するために使用される一意の識別子を指定します。

Rsid * 属性をすべて同じ値では、このドキュメント全体にわたって存在する場合、本を示す (それ以降の保存操作の間に) 同じ編集セッション中にそれらの領域が変更されたことです。

プロデューサーは、リビジョンをこのドキュメント内の他の変更に対する変更の順序を示すためにそれ以降の編集セッションを示すために ID の値を保存を選択できます。

この属性の値は、 ST_LongHexNumberの単純型 (§17.18.50) によって定義されます。
rsidR リビジョン識別子 (テーブルの行の) テーブルの行がメイン文書に追加された編集のセッションを追跡するために使用される一意の識別子を指定します。

Rsid * 属性をすべて同じ値では、このドキュメント全体にわたって存在する場合、本を示す (それ以降の保存操作の間に) 同じ編集セッション中にそれらの領域が変更されたことです。

プロデューサーは、リビジョンをこのドキュメント内の他の変更に対する変更の順序を示すためにそれ以降の編集セッションを示すために ID の値を保存を選択できます。

この属性の値は、 ST_LongHexNumberの単純型 (§17.18.50) によって定義されます。
rsidRPr リビジョン識別子 (テーブルの行のグリフの書式を設定) メイン文書内の表の行の区切り記号を表すグリフ文字の最終変更日時の編集セッションを追跡するために使用される一意の識別子を指定します。

Rsid * 属性をすべて同じ値では、このドキュメント全体にわたって存在する場合、本を示す (それ以降の保存操作の間に) 同じ編集セッション中にそれらの領域が変更されたことです。

プロデューサーは、リビジョンをこのドキュメント内の他の変更に対する変更の順序を示すためにそれ以降の編集セッションを示すために ID の値を保存を選択できます。

この属性の値は、 ST_LongHexNumberの単純型 (§17.18.50) によって定義されます。
rsidTr (テーブルの行のプロパティのリビジョン Id) この文書で表の行のプロパティの最終変更時の編集セッションを追跡するために使用される一意の識別子を指定します。

Rsid * 属性をすべて同じ値では、このドキュメント全体にわたって存在する場合、本を示す (それ以降の保存操作の間に) 同じ編集セッション中にそれらの領域が変更されたことです。

プロデューサーは、リビジョンをこのドキュメント内の他の変更に対する変更の順序を示すためにそれ以降の編集セッションを示すために ID の値を保存を選択できます。

この属性の値は、 ST_LongHexNumberの単純型 (§17.18.50) によって定義されます。

[: この要素のコンテンツ モデル (CT_Row) の W3C XML スキーマ定義は §A.1 であります。 メモの終了)

ISO/IEC29500: 2008。

コンストラクター

TableRow()

TableRow クラスの新しいインスタンスを初期化します。

TableRow(IEnumerable<OpenXmlElement>)

指定した子要素を TableRow クラスの新しいインスタンスを初期化します。

TableRow(OpenXmlElement[])

指定した子要素を TableRow クラスの新しいインスタンスを初期化します。

TableRow(String)

外側の XML から TableRow クラスの新しいインスタンスを初期化します。

プロパティ

ChildElements

現在の要素のすべての子ノードを取得します。

(継承元 OpenXmlElement)
ExtendedAttributes

現在の要素のすべての拡張属性 (スキーマで定義されていない属性) を取得します。

(継承元 OpenXmlElement)
FirstChild

現在の OpenXmlElement 要素の最初の子を取得します。

(継承元 OpenXmlCompositeElement)
HasAttributes

現在の要素に属性が含されているかどうかを示すブール値を取得します。

(継承元 OpenXmlElement)
HasChildren

現在の要素に子要素が含されているかどうかを示す値を取得します。

(継承元 OpenXmlCompositeElement)
InnerText

現在のノードとそのすべての子の連結値を取得または設定します。

(継承元 OpenXmlCompositeElement)
InnerXml

現在のノードの子ノードのみを表すマークアップを取得または設定します。

(継承元 OpenXmlCompositeElement)
LastChild

現在の OpenXmlElement 要素の最後の子を取得します。 このような OpenXmlElement 要素がないVisual Basic null (Nothing in Visual Basic) を返します。

(継承元 OpenXmlCompositeElement)
LocalName

要素のローカル名を取得します。

MCAttributes

マークアップの互換性属性を設定します。 現在の要素に対してマークアップ互換性属性が定義されていない場合は null を返します。

(継承元 OpenXmlElement)
NamespaceDeclarations

現在の要素で定義されている名前空間宣言を取得します。 名前空間宣言がない場合は、空の列挙子を返します。

(継承元 OpenXmlElement)
NamespaceUri

現在の要素の名前空間 URI を取得します。

(継承元 OpenXmlElement)
OpenXmlElementContext

現在の要素の OpenXmlEementContext を取得します。

(継承元 OpenXmlElement)
OuterXml

現在の要素とそのすべての子要素を表すマークアップを取得します。

(継承元 OpenXmlElement)
ParagraphId

スキーマの属性の次の paraId.Represents: w14:paraId

Parent

現在の要素の親要素を取得します。

(継承元 OpenXmlElement)
Prefix

現在の要素の名前空間プレフィックスを取得します。

(継承元 OpenXmlElement)
RsidTableRowAddition

スキーマ内の属性を次の表の Row.Represents のリビジョン Id: w:rsidR

RsidTableRowDeletion

次の属性がスキーマにテーブルの行の Deletion.Represents のリビジョン Id: w:rsidDel

RsidTableRowMarkRevision

次の属性がスキーマにテーブル行のグリフ Formatting.Represents のリビジョン Id: w:rsidRPr

RsidTableRowProperties

次の属性がスキーマにテーブルの行の Properties.Represents のリビジョン Id: w:rsidTr

TablePropertyExceptions

テーブル レベルのプロパティの例外です。 スキーマでは、次の要素タグを表します w:tblPrEx。

TableRowProperties

テーブル行のプロパティです。 スキーマでは、次の要素タグを表します w:trPr。

TextId

スキーマの属性の次の textId.Represents: w14:textId

XmlQualifiedName

現在の要素の修飾名を取得します。

(継承元 OpenXmlElement)
XName

現在の要素の修飾名を取得します。

(継承元 OpenXmlElement)

メソッド

AddAnnotation(Object)

現在の OpenXmlElement 要素の注釈の一覧にオブジェクトを追加します。

(継承元 OpenXmlElement)
AddNamespaceDeclaration(String, String)

現在のノードに namepace 宣言を追加します。

(継承元 OpenXmlElement)
Ancestors()

現在の要素のすべての先祖を列挙します。

(継承元 OpenXmlElement)
Ancestors<T>()

指定した型を持つ現在の要素の先祖のみを列挙します。

(継承元 OpenXmlElement)
Annotation(Type)

現在の OpenXmlElement 要素から、指定した型の最初の注釈オブジェクトを取得します。

(継承元 OpenXmlElement)
Annotation<T>()

現在の OpenXmlElement 要素から、指定した型の最初の注釈オブジェクトを取得します。

(継承元 OpenXmlElement)
Annotations(Type)

現在の OpenXmlElement 要素の指定した型を持つ注釈のコレクションを取得します。

(継承元 OpenXmlElement)
Annotations<T>()

現在の OpenXmlElement 要素の指定した型を持つ注釈のコレクションを取得します。

(継承元 OpenXmlElement)
Append(IEnumerable<OpenXmlElement>)

要素のリストから、現在の要素の子要素のリストの末尾に各要素を追加します。

(継承元 OpenXmlElement)
Append(OpenXmlElement[])

要素の配列から、現在の要素の子要素のリストの末尾に各要素を追加します。

(継承元 OpenXmlElement)
AppendChild<T>(T)

指定した要素を、現在の要素の子ノードのリストの末尾に追加します。

(継承元 OpenXmlCompositeElement)
ClearAllAttributes()

既知の属性と拡張属性の両方を含む、すべての属性をクリアします。

(継承元 OpenXmlElement)
Clone()

現在のノードの複製を作成します。

(継承元 OpenXmlElement)
CloneNode(Boolean)

このノードの複製を作成します。

Descendants()

現在の要素のすべての子孫を列挙します。

(継承元 OpenXmlElement)
Descendants<T>()

現在の要素の T 型のすべての子孫を列挙します。

(継承元 OpenXmlElement)
Elements()

現在の要素のすべての子を列挙します。

(継承元 OpenXmlElement)
Elements<T>()

指定した型を持つ現在の要素の子のみを列挙します。

(継承元 OpenXmlElement)
ElementsAfter()

現在の要素に従い、現在の要素と同じ親を持つすべての兄弟要素を列挙します。

(継承元 OpenXmlElement)
ElementsBefore()

現在の要素の前に、現在の要素と同じ親を持つすべての兄弟要素を列挙します。

(継承元 OpenXmlElement)
GetAttribute(String, String)

指定したタグ名と名前空間 URI を持つ Open XML 属性を取得します。

(継承元 OpenXmlElement)
GetAttributes()

すべての属性のコピーを含むリストを取得します。

(継承元 OpenXmlElement)
GetEnumerator()

子コレクションを反復処理する列挙子を返します。

(継承元 OpenXmlElement)
GetFirstChild<T>()

型 T の最初の子要素を検索します。

(継承元 OpenXmlElement)
InsertAfter<T>(T, OpenXmlElement)

指定した参照要素の直後に、指定した要素を挿入します。

(継承元 OpenXmlCompositeElement)
InsertAfterSelf<T>(T)

現在の要素の直後に指定した要素を挿入します。

(継承元 OpenXmlElement)
InsertAt<T>(T, Int32)

現在の要素の子の指定したインデックスに、指定した要素を挿入します。

(継承元 OpenXmlCompositeElement)
InsertBefore<T>(T, OpenXmlElement)

指定した参照要素の直前に、指定した要素を挿入します。

(継承元 OpenXmlCompositeElement)
InsertBeforeSelf<T>(T)

現在の要素の直前に指定した要素を挿入します。

(継承元 OpenXmlElement)
IsAfter(OpenXmlElement)

ドキュメントの順序で指定した要素の後に現在の要素が表示されるかどうかを指定します。

(継承元 OpenXmlElement)
IsBefore(OpenXmlElement)

現在の要素が文書の順序で指定された要素の前に表示されるかどうかを指定します。

(継承元 OpenXmlElement)
LookupNamespace(String)

現在のノードのコンテキストで名前空間プレフィックスを解決します。

(継承元 OpenXmlElement)
LookupPrefix(String)

現在の要素スコープ内の名前空間 uri の対応するプレフィックスを検索します。

(継承元 OpenXmlElement)
NextSibling()

現在の OpenXmlElement 要素の直後にある OpenXmlElement 要素を取得します。 次の OpenXmlElement 要素がないVisual Basic null (Nothing in Visual Basic) を返します。

(継承元 OpenXmlElement)
NextSibling<T>()

現在の OpenXmlElement 要素に続く、指定した型を持つ OpenXmlElement 要素を取得します。 次の OpenXmlElement がないVisual Basic null (Nothing in Visual Basic) を返します。

(継承元 OpenXmlElement)
PrependChild<T>(T)

現在の要素の子ノードのリストの先頭に指定した要素を挿入します。

(継承元 OpenXmlCompositeElement)
PreviousSibling()

現在の OpenXmlElement 要素の直前にある OpenXmlElement 要素を取得します。 前の OpenXmlElement 要素がないVisual Basic null ( Nothing in Visual Basic ) を返します。

(継承元 OpenXmlElement)
PreviousSibling<T>()

現在の OpenXmlElement の前に指定された型を持つ OpenXmlElement 要素を取得します。 前の OpenXmlElement 要素がない場合は、null (Visual Basic 内の Nothing) を返します。

(継承元 OpenXmlElement)
Remove()

現在の要素を親から削除します。

(継承元 OpenXmlElement)
RemoveAllChildren()

現在の要素のすべての子要素を削除します。

(継承元 OpenXmlCompositeElement)
RemoveAllChildren<T>()

T 型の現在の要素のすべての子要素を削除します。

(継承元 OpenXmlElement)
RemoveAnnotations(Type)

現在の OpenXmlElement 要素から、指定した型の注釈を削除します。

(継承元 OpenXmlElement)
RemoveAnnotations<T>()

現在の OpenXmlElement 要素から、指定した型の注釈を削除します。

(継承元 OpenXmlElement)
RemoveAttribute(String, String)

現在の要素から属性を削除します。

(継承元 OpenXmlElement)
RemoveChild<T>(T)

指定した子要素を削除します。

(継承元 OpenXmlCompositeElement)
RemoveNamespaceDeclaration(String)

指定したプレフィックスの名前空間宣言を削除します。 プレフィックスがない場合は何も削除しません。

(継承元 OpenXmlElement)
ReplaceChild<T>(OpenXmlElement, T)

現在の要素の子要素の 1 つを別の OpenXmlElement 要素に置き換える。

(継承元 OpenXmlCompositeElement)
SetAttribute(OpenXmlAttribute)

属性を指定した要素に設定します。 属性が既知の属性の場合、属性の値が設定されます。 属性が拡張属性の場合、'openxmlAttribute' が拡張属性リストに追加されます。

(継承元 OpenXmlElement)
SetAttributes(IEnumerable<OpenXmlAttribute>)

要素に対して多数の属性を設定します。 属性が既知の属性の場合、属性の値が設定されます。 属性が拡張属性の場合、'openxmlAttribute' が拡張属性リストに追加されます。

(継承元 OpenXmlElement)
WriteTo(XmlWriter)

現在のノードを指定した XmlWriter に保存します。

(継承元 OpenXmlElement)

明示的なインターフェイスの実装

IEnumerable.GetEnumerator() (継承元 OpenXmlElement)

適用対象