Share via


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

See Also

Reference

Type Class

Type Members

GetProperty Overload

System.Reflection.Mock Namespace