共用方式為


Type.GetProperty Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

Gets a specific property of the current Type.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetProperty(String) Searches for the public property with the specified name.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetProperty(String, BindingFlags) Searches for the specified property, using the specified binding constraints.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetProperty(String, Type) Searches for the public property with the specified name and return type.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetProperty(String, Type, array<Type[]) Searches for the specified public property whose parameters match the specified argument types.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetProperty(String, Type, array<Type[], array<ParameterModifier[]) Searches for the specified public property whose parameters match the specified argument types and modifiers.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetProperty(String, BindingFlags, Binder, Type, array<Type[], array<ParameterModifier[]) Searches for the specified property whose parameters match the specified argument types and modifiers, using the specified binding constraints.

Top

See Also

Reference