你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PropertiesExtensions.GetProperty 方法

定义

重载

GetProperty(Frame, String, String)

按名称获取高级属性的值。

GetProperty(FrameFormat, String, String)

按名称获取高级属性的值。

GetProperty(FrameSetFormat, String, String)

按名称获取高级属性的值。

GetProperty(FrameSetSource, String, String)

按名称获取高级属性的值。

GetProperty(FrameSource, String, String)

按名称获取高级属性的值。

GetProperty(VisionSource, String, String)

按名称获取高级属性的值。

GetProperty(VisionLocalProcessingAdvancedOptions, String, String)

按名称获取高级属性的值。

GetProperty(VisionServiceAdvancedOptions, String, String)

按名称获取高级属性的值。

GetProperty(Frame, String, String)

按名称获取高级属性的值。

public static string GetProperty (this Azure.AI.Vision.Core.Input.Frame frame, string name, string defaultValue = "");
static member GetProperty : Azure.AI.Vision.Core.Input.Frame * string * string -> string
<Extension()>
Public Function GetProperty (frame As Frame, name As String, Optional defaultValue As String = "") As String

参数

frame
Frame

包含属性集合的帧。

name
String

属性名称

defaultValue
String

如果未设置 属性,则返回的默认值

返回

属性的值

适用于

GetProperty(FrameFormat, String, String)

按名称获取高级属性的值。

public static string GetProperty (this Azure.AI.Vision.Core.Input.FrameFormat frameFormat, string name, string defaultValue = "");
static member GetProperty : Azure.AI.Vision.Core.Input.FrameFormat * string * string -> string
<Extension()>
Public Function GetProperty (frameFormat As FrameFormat, name As String, Optional defaultValue As String = "") As String

参数

frameFormat
FrameFormat

具有属性的 FrameFromat

name
String

属性名称

defaultValue
String

如果未设置 属性,则返回的默认值

返回

属性的值

适用于

GetProperty(FrameSetFormat, String, String)

按名称获取高级属性的值。

public static string GetProperty (this Azure.AI.Vision.Core.Input.FrameSetFormat frameSetFormat, string name, string defaultValue = "");
static member GetProperty : Azure.AI.Vision.Core.Input.FrameSetFormat * string * string -> string
<Extension()>
Public Function GetProperty (frameSetFormat As FrameSetFormat, name As String, Optional defaultValue As String = "") As String

参数

frameSetFormat
FrameSetFormat

具有属性的 FrameFromat

name
String

属性名称

defaultValue
String

如果未设置 属性,则返回的默认值

返回

属性的值

适用于

GetProperty(FrameSetSource, String, String)

按名称获取高级属性的值。

public static string GetProperty (this Azure.AI.Vision.Core.Input.FrameSetSource frameSetSource, string name, string defaultValue = "");
static member GetProperty : Azure.AI.Vision.Core.Input.FrameSetSource * string * string -> string
<Extension()>
Public Function GetProperty (frameSetSource As FrameSetSource, name As String, Optional defaultValue As String = "") As String

参数

frameSetSource
FrameSetSource

具有属性的 FrameSetSource

name
String

属性名称

defaultValue
String

如果未设置 属性,则返回的默认值

返回

属性的值

适用于

GetProperty(FrameSource, String, String)

按名称获取高级属性的值。

public static string GetProperty (this Azure.AI.Vision.Core.Input.FrameSource frameSource, string name, string defaultValue = "");
static member GetProperty : Azure.AI.Vision.Core.Input.FrameSource * string * string -> string
<Extension()>
Public Function GetProperty (frameSource As FrameSource, name As String, Optional defaultValue As String = "") As String

参数

frameSource
FrameSource

具有属性的 FrameSource

name
String

属性名称

defaultValue
String

如果未设置 属性,则返回的默认值

返回

属性的值

适用于

GetProperty(VisionSource, String, String)

按名称获取高级属性的值。

public static string GetProperty (this Azure.AI.Vision.Core.Input.VisionSource source, string name, string defaultValue = "");
static member GetProperty : Azure.AI.Vision.Core.Input.VisionSource * string * string -> string
<Extension()>
Public Function GetProperty (source As VisionSource, name As String, Optional defaultValue As String = "") As String

参数

source
VisionSource

具有属性的 VisionSource。

name
String

属性名称

defaultValue
String

如果未设置 属性,则返回的默认值

返回

属性的值

适用于

GetProperty(VisionLocalProcessingAdvancedOptions, String, String)

按名称获取高级属性的值。

public static string GetProperty (this Azure.AI.Vision.Core.Options.VisionLocalProcessingAdvancedOptions options, string name, string defaultValue = "");
static member GetProperty : Azure.AI.Vision.Core.Options.VisionLocalProcessingAdvancedOptions * string * string -> string
<Extension()>
Public Function GetProperty (options As VisionLocalProcessingAdvancedOptions, name As String, Optional defaultValue As String = "") As String

参数

options
VisionLocalProcessingAdvancedOptions

包含属性的 VisionLocalProcessingAdvancedOptions

name
String

属性名称

defaultValue
String

如果未设置 属性,则返回的默认值

返回

属性的值

适用于

GetProperty(VisionServiceAdvancedOptions, String, String)

按名称获取高级属性的值。

public static string GetProperty (this Azure.AI.Vision.Core.Options.VisionServiceAdvancedOptions options, string name, string defaultValue = "");
static member GetProperty : Azure.AI.Vision.Core.Options.VisionServiceAdvancedOptions * string * string -> string
<Extension()>
Public Function GetProperty (options As VisionServiceAdvancedOptions, name As String, Optional defaultValue As String = "") As String

参数

options
VisionServiceAdvancedOptions

包含属性的 VisionServiceAdvancedOptions

name
String

属性名称

defaultValue
String

如果未设置 属性,则返回的默认值

返回

属性的值

适用于