Share via


PropertyCollection.GetProperty メソッド

定義

オーバーロード

GetProperty(PropertyId)

この PropertyId 値を持つ という名前のプロパティを検索します。

GetProperty(String)

この文字列名を持つ プロパティを検索します。

GetProperty(PropertyId, String)

この PropertyId 値を持つ という名前のプロパティを検索します。

GetProperty(String, String)

この文字列名を持つ プロパティを検索します。

GetProperty(PropertyId)

この PropertyId 値を持つ という名前のプロパティを検索します。

public virtual string GetProperty (Microsoft.CognitiveServices.Speech.PropertyId id);
abstract member GetProperty : Microsoft.CognitiveServices.Speech.PropertyId -> string
override this.GetProperty : Microsoft.CognitiveServices.Speech.PropertyId -> string
Public Overridable Function GetProperty (id As PropertyId) As String

パラメーター

id
PropertyId

プロパティの ID。 「PropertyId」を参照してください。

戻り値

プロパティの値。

注釈

プロパティ値が定義されていない場合は、空の文字列が返されます。

適用対象

GetProperty(String)

この文字列名を持つ プロパティを検索します。

public virtual string GetProperty (string propertyName);
abstract member GetProperty : string -> string
override this.GetProperty : string -> string
Public Overridable Function GetProperty (propertyName As String) As String

パラメーター

propertyName
String

プロパティの名前

戻り値

プロパティの値。

注釈

プロパティ値が定義されていない場合は、空の文字列が返されます。 ほとんどの場合、このメソッドの代わりに を使用 GetProperty(PropertyId) します。

適用対象

GetProperty(PropertyId, String)

この PropertyId 値を持つ という名前のプロパティを検索します。

public virtual string GetProperty (Microsoft.CognitiveServices.Speech.PropertyId id, string defaultValue);
abstract member GetProperty : Microsoft.CognitiveServices.Speech.PropertyId * string -> string
override this.GetProperty : Microsoft.CognitiveServices.Speech.PropertyId * string -> string
Public Overridable Function GetProperty (id As PropertyId, defaultValue As String) As String

パラメーター

id
PropertyId

プロパティの ID。 「PropertyId」を参照してください。

defaultValue
String

プロパティに値が定義されていない場合に返される既定値。

戻り値

プロパティの値。

注釈

プロパティ値が定義されていない場合は、指定された既定値が返されます。

適用対象

GetProperty(String, String)

この文字列名を持つ プロパティを検索します。

public virtual string GetProperty (string propertyName, string defaultValue);
abstract member GetProperty : string * string -> string
override this.GetProperty : string * string -> string
Public Overridable Function GetProperty (propertyName As String, defaultValue As String) As String

パラメーター

propertyName
String

プロパティの名前。

defaultValue
String

プロパティに値が定義されていない場合に返される既定値。

戻り値

プロパティの値。

注釈

少数のプロパティは、文字列名を使用して格納されます。 プロパティ値が定義されていない場合は、指定された既定値が返されます。

適用対象