Type.GetProperty Method ()
Namespace: System.Reflection.Mock
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Public Function GetProperty ( _
name As String _
) As PropertyInfo
'Usage
Dim instance As Type
Dim name As String
Dim returnValue As PropertyInfo
returnValue = instance.GetProperty(name)
public PropertyInfo GetProperty(
string name
)
public:
PropertyInfo^ GetProperty(
String^ name
)
member GetProperty :
name:string -> PropertyInfo
public function GetProperty(
name : String
) : PropertyInfo
Parameters
- name
Type: String
Return Value
Type: System.Reflection.Mock.PropertyInfo
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.