Visual Basic (Declaration)
Public Shared Function FindUsersByName ( _
usernameToMatch As String, _
pageIndex As Integer, _
pageSize As Integer, _
<OutAttribute> ByRef totalRecords As Integer _
) As MembershipUserCollection
Dim usernameToMatch As String
Dim pageIndex As Integer
Dim pageSize As Integer
Dim totalRecords As Integer
Dim returnValue As MembershipUserCollection
returnValue = Membership.FindUsersByName(usernameToMatch, _
pageIndex, pageSize, totalRecords)
public static MembershipUserCollection FindUsersByName(
string usernameToMatch,
int pageIndex,
int pageSize,
out int totalRecords
)
public:
static MembershipUserCollection^ FindUsersByName(
String^ usernameToMatch,
int pageIndex,
int pageSize,
[OutAttribute] int% totalRecords
)
public static MembershipUserCollection FindUsersByName(
String usernameToMatch,
int pageIndex,
int pageSize,
/** @attribute OutAttribute */ /** @ref */int totalRecords
)
public static function FindUsersByName(
usernameToMatch : String,
pageIndex : int,
pageSize : int,
totalRecords : int
) : MembershipUserCollection