OpenXmlPartContainer.Annotation メソッド

定義

オーバーロード

Annotation(Type)

指定した型の最初の注釈オブジェクトを、この PartContainer から取得します。

Annotation<T>()

指定した型の最初の注釈オブジェクトを、この PartContainer から取得します。

Annotation(Type)

指定した型の最初の注釈オブジェクトを、この PartContainer から取得します。

public object Annotation (Type type);
public object? Annotation (Type type);
member this.Annotation : Type -> obj
Public Function Annotation (type As Type) As Object

パラメーター

type
Type

取得する注釈の型。

戻り値

指定した型の最初の注釈オブジェクト。

適用対象

Annotation<T>()

指定した型の最初の注釈オブジェクトを、この PartContainer から取得します。

public T Annotation<T> () where T : class;
public T? Annotation<T> () where T : class;
member this.Annotation : unit -> 'T (requires 'T : null)
Public Function Annotation(Of T As Class) () As T

型パラメーター

T

取得する注釈の型。

戻り値

T

指定した型の最初の注釈オブジェクト。

適用対象