Udostępnij za pośrednictwem


VisionPropertiesExtensions.TryGetProperty Method

Definition

Overloads

TryGetProperty(VisionServiceAdvancedOptions, String, String)

Gets the value of an advanced property by name.

TryGetProperty(Frame, String, String)

Gets the value of an advanced property by name.

TryGetProperty(FrameFormat, String, String)

Gets the value of an advanced property by name.

TryGetProperty(FrameSourceBuffer, String, String)

Gets the value of an advanced property by name.

TryGetProperty(Image, String, String)

Gets the value of an advanced property by name.

TryGetProperty(ImageFormat, String, String)

Gets the value of an advanced property by name.

TryGetProperty(ImageSourceBuffer, String, String)

Gets the value of an advanced property by name.

TryGetProperty(VisionLocalProcessingAdvancedOptions, String, String)

Gets the value of an advanced property by name.

TryGetProperty(VisionSource, String, String)

Gets the value of an advanced property by name.

TryGetProperty(VisionServiceAdvancedOptions, String, String)

Gets the value of an advanced property by name.

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

Parameters

options
VisionServiceAdvancedOptions

VisionServiceAdvancedOptions containing properties

name
String

Property Name

value
String

Out parameter that contains the value if found

Returns

true if the value is in the property bag, false otherwise

Applies to

TryGetProperty(Frame, String, String)

Gets the value of an advanced property by name.

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

Parameters

image
Frame

The advanced options class that contains the properties.

name
String

Property Name

value
String

Out parameter that contains the value if found

Returns

true if the value is in the property bag, false otherwise

Applies to

TryGetProperty(FrameFormat, String, String)

Gets the value of an advanced property by name.

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

Parameters

imageFormat
FrameFormat

The advanced options class that contains the properties.

name
String

Property Name

value
String

Out parameter that contains the value if found

Returns

true if the value is in the property bag, false otherwise

Applies to

TryGetProperty(FrameSourceBuffer, String, String)

Gets the value of an advanced property by name.

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

Parameters

imageSource
FrameSourceBuffer

FrameSourceBuffer with properties

name
String

Property Name

value
String

Out parameter that contains the value if found

Returns

true if the value is in the property bag, false otherwise

Applies to

TryGetProperty(Image, String, String)

Gets the value of an advanced property by name.

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

Parameters

image
Image

The advanced options class that contains the properties.

name
String

Property Name

value
String

Out parameter that contains the value if found

Returns

true if the value is in the property bag, false otherwise

Applies to

TryGetProperty(ImageFormat, String, String)

Gets the value of an advanced property by name.

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

Parameters

imageFormat
ImageFormat

The advanced options class that contains the properties.

name
String

Property Name

value
String

Out parameter that contains the value if found

Returns

true if the value is in the property bag, false otherwise

Applies to

TryGetProperty(ImageSourceBuffer, String, String)

Gets the value of an advanced property by name.

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

Parameters

imageSource
ImageSourceBuffer

ImageSourceBuffer with properties

name
String

Property Name

value
String

Out parameter that contains the value if found

Returns

true if the value is in the property bag, false otherwise

Applies to

TryGetProperty(VisionLocalProcessingAdvancedOptions, String, String)

Gets the value of an advanced property by name.

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

Parameters

options
VisionLocalProcessingAdvancedOptions

VisionLocalProcessingAdvancedOptions containing properties

name
String

Property Name

value
String

Out parameter that contains the value if found

Returns

true if the value is in the property bag, false otherwise

Applies to

TryGetProperty(VisionSource, String, String)

Gets the value of an advanced property by name.

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

Parameters

source
VisionSource

VisionSource with Properties.

name
String

Property Name

value
String

Out parameter that contains the value if found

Returns

true if the value is in the property bag, false otherwise

Applies to