共用方式為


PropertiesExtensions.GetProperty Method

Definition

Overloads

GetProperty(Frame, String, String)

Gets the value of an advanced property by name.

GetProperty(FrameFormat, String, String)

Gets the value of an advanced property by name.

GetProperty(FrameSetFormat, String, String)

Gets the value of an advanced property by name.

GetProperty(FrameSetSource, String, String)

Gets the value of an advanced property by name.

GetProperty(FrameSource, String, String)

Gets the value of an advanced property by name.

GetProperty(VisionSource, String, String)

Gets the value of an advanced property by name.

GetProperty(VisionLocalProcessingAdvancedOptions, String, String)

Gets the value of an advanced property by name.

GetProperty(VisionServiceAdvancedOptions, String, String)

Gets the value of an advanced property by name.

GetProperty(Frame, String, String)

Gets the value of an advanced property by name.

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

Parameters

frame
Frame

Frame containing properties collection.

name
String

Property Name

defaultValue
String

A default value to return if the property is not set

Returns

The value of the property

Applies to

GetProperty(FrameFormat, String, String)

Gets the value of an advanced property by name.

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

Parameters

frameFormat
FrameFormat

FrameFromat with properties

name
String

Property Name

defaultValue
String

A default value to return if the property is not set

Returns

The value of the property

Applies to

GetProperty(FrameSetFormat, String, String)

Gets the value of an advanced property by name.

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

Parameters

frameSetFormat
FrameSetFormat

FrameFromat with properties

name
String

Property Name

defaultValue
String

A default value to return if the property is not set

Returns

The value of the property

Applies to

GetProperty(FrameSetSource, String, String)

Gets the value of an advanced property by name.

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

Parameters

frameSetSource
FrameSetSource

FrameSetSource with properties

name
String

Property Name

defaultValue
String

A default value to return if the property is not set

Returns

The value of the property

Applies to

GetProperty(FrameSource, String, String)

Gets the value of an advanced property by name.

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

Parameters

frameSource
FrameSource

FrameSource with properties

name
String

Property Name

defaultValue
String

A default value to return if the property is not set

Returns

The value of the property

Applies to

GetProperty(VisionSource, String, String)

Gets the value of an advanced property by name.

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

Parameters

source
VisionSource

VisionSource with Properties.

name
String

Property Name

defaultValue
String

A default value to return if the property is not set

Returns

The value of the property

Applies to

GetProperty(VisionLocalProcessingAdvancedOptions, String, String)

Gets the value of an advanced property by name.

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

Parameters

options
VisionLocalProcessingAdvancedOptions

VisionLocalProcessingAdvancedOptions containing properties

name
String

Property Name

defaultValue
String

A default value to return if the property is not set

Returns

The value of the property

Applies to

GetProperty(VisionServiceAdvancedOptions, String, String)

Gets the value of an advanced property by name.

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

Parameters

options
VisionServiceAdvancedOptions

VisionServiceAdvancedOptions containing properties

name
String

Property Name

defaultValue
String

A default value to return if the property is not set

Returns

The value of the property

Applies to