ScriptObject.GetProperty Method (String, BindingFlags)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

This API supports the product 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.

.NET Framework
Available since 1.1
Return to top
Show: