Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetProperty Method (String, BindingFlags)

ScriptObject.GetProperty Method (String, BindingFlags)

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets a property that has the specified name.

Namespace:  Microsoft.JScript
Assembly:  Microsoft.JScript (in Microsoft.JScript.dll)

public PropertyInfo GetProperty(
	string name,
	BindingFlags bindingAttr
)

Parameters

name
Type: System.String

The name of the property to get.

bindingAttr
Type: System.Reflection.BindingFlags

A bitwise combination of the enumeration values that specifies how the search for members is conducted by reflection.

Return Value

Type: System.Reflection.PropertyInfo
A property that has the specified name, or null if the script object does not contain the property.

Implements

IReflect.GetProperty(String, BindingFlags)

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft