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

VisionPropertiesExtensions.TryGetProperty 方法

定义

重载

TryGetProperty(VisionServiceAdvancedOptions, String, String)

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

TryGetProperty(Frame, String, String)

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

TryGetProperty(FrameFormat, String, String)

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

TryGetProperty(FrameSourceBuffer, String, String)

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

TryGetProperty(Image, String, String)

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

TryGetProperty(ImageFormat, String, String)

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

TryGetProperty(ImageSourceBuffer, String, String)

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

TryGetProperty(VisionLocalProcessingAdvancedOptions, String, String)

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

TryGetProperty(VisionSource, String, String)

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

TryGetProperty(VisionServiceAdvancedOptions, String, String)

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

public static bool TryGetProperty (this Azure.AI.Vision.Common.VisionServiceAdvancedOptions options, string name, out string value);
static member TryGetProperty : Azure.AI.Vision.Common.VisionServiceAdvancedOptions * string * string -> bool
<Extension()>
Public Function TryGetProperty (options As VisionServiceAdvancedOptions, name As String, ByRef value As String) As Boolean

参数

options
VisionServiceAdvancedOptions

包含属性的 VisionServiceAdvancedOptions

name
String

属性名称

value
String

包含值的 Out 参数(如果找到)

返回

如果值在属性包中,则为 true;否则为 false

适用于

TryGetProperty(Frame, String, String)

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

public static bool TryGetProperty (this Azure.AI.Vision.Common.Frame image, string name, out string value);
static member TryGetProperty : Azure.AI.Vision.Common.Frame * string * string -> bool
<Extension()>
Public Function TryGetProperty (image As Frame, name As String, ByRef value As String) As Boolean

参数

image
Frame

包含属性的高级选项类。

name
String

属性名称

value
String

包含值的 Out 参数(如果找到)

返回

如果值在属性包中,则为 true;否则为 false

适用于

TryGetProperty(FrameFormat, String, String)

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

public static bool TryGetProperty (this Azure.AI.Vision.Common.FrameFormat imageFormat, string name, out string value);
static member TryGetProperty : Azure.AI.Vision.Common.FrameFormat * string * string -> bool
<Extension()>
Public Function TryGetProperty (imageFormat As FrameFormat, name As String, ByRef value As String) As Boolean

参数

imageFormat
FrameFormat

包含属性的高级选项类。

name
String

属性名称

value
String

包含值的 Out 参数(如果找到)

返回

如果值在属性包中,则为 true;否则为 false

适用于

TryGetProperty(FrameSourceBuffer, String, String)

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

public static bool TryGetProperty (this Azure.AI.Vision.Common.FrameSourceBuffer imageSource, string name, out string value);
static member TryGetProperty : Azure.AI.Vision.Common.FrameSourceBuffer * string * string -> bool
<Extension()>
Public Function TryGetProperty (imageSource As FrameSourceBuffer, name As String, ByRef value As String) As Boolean

参数

imageSource
FrameSourceBuffer

具有属性的 FrameSourceBuffer

name
String

属性名称

value
String

包含值的 Out 参数(如果找到)

返回

如果值在属性包中,则为 true;否则为 false

适用于

TryGetProperty(Image, String, String)

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

public static bool TryGetProperty (this Azure.AI.Vision.Common.Image image, string name, out string value);
static member TryGetProperty : Azure.AI.Vision.Common.Image * string * string -> bool
<Extension()>
Public Function TryGetProperty (image As Image, name As String, ByRef value As String) As Boolean

参数

image
Image

包含属性的高级选项类。

name
String

属性名称

value
String

包含值的 Out 参数(如果找到)

返回

如果值在属性包中,则为 true;否则为 false

适用于

TryGetProperty(ImageFormat, String, String)

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

public static bool TryGetProperty (this Azure.AI.Vision.Common.ImageFormat imageFormat, string name, out string value);
static member TryGetProperty : Azure.AI.Vision.Common.ImageFormat * string * string -> bool
<Extension()>
Public Function TryGetProperty (imageFormat As ImageFormat, name As String, ByRef value As String) As Boolean

参数

imageFormat
ImageFormat

包含属性的高级选项类。

name
String

属性名称

value
String

包含值的 Out 参数(如果找到)

返回

如果值在属性包中,则为 true;否则为 false

适用于

TryGetProperty(ImageSourceBuffer, String, String)

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

public static bool TryGetProperty (this Azure.AI.Vision.Common.ImageSourceBuffer imageSource, string name, out string value);
static member TryGetProperty : Azure.AI.Vision.Common.ImageSourceBuffer * string * string -> bool
<Extension()>
Public Function TryGetProperty (imageSource As ImageSourceBuffer, name As String, ByRef value As String) As Boolean

参数

imageSource
ImageSourceBuffer

具有属性的 ImageSourceBuffer

name
String

属性名称

value
String

包含值的 Out 参数(如果找到)

返回

如果值在属性包中,则为 true;否则为 false

适用于

TryGetProperty(VisionLocalProcessingAdvancedOptions, String, String)

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

public static bool TryGetProperty (this Azure.AI.Vision.Common.VisionLocalProcessingAdvancedOptions options, string name, out string value);
static member TryGetProperty : Azure.AI.Vision.Common.VisionLocalProcessingAdvancedOptions * string * string -> bool
<Extension()>
Public Function TryGetProperty (options As VisionLocalProcessingAdvancedOptions, name As String, ByRef value As String) As Boolean

参数

options
VisionLocalProcessingAdvancedOptions

包含属性的 VisionLocalProcessingAdvancedOptions

name
String

属性名称

value
String

包含值的 Out 参数(如果找到)

返回

如果值在属性包中,则为 true;否则为 false

适用于

TryGetProperty(VisionSource, String, String)

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

public static bool TryGetProperty (this Azure.AI.Vision.Common.VisionSource source, string name, out string value);
static member TryGetProperty : Azure.AI.Vision.Common.VisionSource * string * string -> bool
<Extension()>
Public Function TryGetProperty (source As VisionSource, name As String, ByRef value As String) As Boolean

参数

source
VisionSource

具有属性的 VisionSource。

name
String

属性名称

value
String

包含值的 Out 参数(如果找到)

返回

如果值在属性包中,则为 true;否则为 false

适用于