本文整理汇总了C#中Sybase.GetType方法的典型用法代码示例。如果您正苦于以下问题:C# Sybase.GetType方法的具体用法?C# Sybase.GetType怎么用?C# Sybase.GetType使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Sybase
的用法示例。
在下文中一共展示了Sybase.GetType方法的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: register
public virtual c__accountdatabean register(Sybase.PowerBuilder.PBString userid, Sybase.PowerBuilder.PBString password, Sybase.PowerBuilder.PBString fullname, Sybase.PowerBuilder.PBString address, Sybase.PowerBuilder.PBString email, Sybase.PowerBuilder.PBString creditcard, Sybase.PowerBuilder.PBDecimal openbalance)
{
Sybase.PowerBuilder.IPBValue[] __PBNIInteralArgs = new Sybase.PowerBuilder.IPBValue[7];
System.Type[] __PBNIInteralArgTypes = new System.Type[7];
bool[] __PBNIInteralArgsByRef = new bool[7];
__PBNIInteralArgs[0] = userid;
if ((object)userid == null)
__PBNIInteralArgTypes[0] = typeof(Sybase.PowerBuilder.PBString);
else
__PBNIInteralArgTypes[0] = userid.GetType();
__PBNIInteralArgsByRef[0] = false;
__PBNIInteralArgs[1] = password;
if ((object)password == null)
__PBNIInteralArgTypes[1] = typeof(Sybase.PowerBuilder.PBString);
else
__PBNIInteralArgTypes[1] = password.GetType();
__PBNIInteralArgsByRef[1] = false;
__PBNIInteralArgs[2] = fullname;
if ((object)fullname == null)
__PBNIInteralArgTypes[2] = typeof(Sybase.PowerBuilder.PBString);
else
__PBNIInteralArgTypes[2] = fullname.GetType();
__PBNIInteralArgsByRef[2] = false;
__PBNIInteralArgs[3] = address;
if ((object)address == null)
__PBNIInteralArgTypes[3] = typeof(Sybase.PowerBuilder.PBString);
else
__PBNIInteralArgTypes[3] = address.GetType();
__PBNIInteralArgsByRef[3] = false;
__PBNIInteralArgs[4] = email;
if ((object)email == null)
__PBNIInteralArgTypes[4] = typeof(Sybase.PowerBuilder.PBString);
else
__PBNIInteralArgTypes[4] = email.GetType();
__PBNIInteralArgsByRef[4] = false;
__PBNIInteralArgs[5] = creditcard;
if ((object)creditcard == null)
__PBNIInteralArgTypes[5] = typeof(Sybase.PowerBuilder.PBString);
else
__PBNIInteralArgTypes[5] = creditcard.GetType();
__PBNIInteralArgsByRef[5] = false;
__PBNIInteralArgs[6] = openbalance;
if ((object)openbalance == null)
__PBNIInteralArgTypes[6] = typeof(Sybase.PowerBuilder.PBDecimal);
else
__PBNIInteralArgTypes[6] = openbalance.GetType();
__PBNIInteralArgsByRef[6] = false;
Sybase.PowerBuilder.IPBValue __PBNIInteralReturn = new c__accountdatabean();
_proxy.Invoke("<method name='register' ns='WebService' pbname='register'><return name='returnvalue' type='WebService.AccountDataBean' isRef='False' ArrayDim='0' IsNullableType='False' /><param name='userID' type='System.String' pos='0' dir='in' ArrayDim='0' IsNullableType='False'/><param name='password' type='System.String' pos='1' dir='in' ArrayDim='0' IsNullableType='False'/><param name='fullname' type='System.String' pos='2' dir='in' ArrayDim='0' IsNullableType='False'/><param name='address' type='System.String' pos='3' dir='in' ArrayDim='0' IsNullableType='False'/><param name='email' type='System.String' pos='4' dir='in' ArrayDim='0' IsNullableType='False'/><param name='creditcard' type='System.String' pos='5' dir='in' ArrayDim='0' IsNullableType='False'/><param name='openBalance' type='System.Decimal' pos='6' dir='in' ArrayDim='0' IsNullableType='False'/></method>", __PBNIInteralArgs, __PBNIInteralArgTypes, __PBNIInteralArgsByRef, ref __PBNIInteralReturn, typeof(c__accountdatabean));
return (c__accountdatabean)__PBNIInteralReturn;
}
示例2: setdetails
public virtual Sybase.PowerBuilder.PBString setdetails(Sybase.PowerBuilder.PBString details)
{
Sybase.PowerBuilder.IPBValue[] __PBNIInteralArgs = new Sybase.PowerBuilder.IPBValue[1];
System.Type[] __PBNIInteralArgTypes = new System.Type[1];
bool[] __PBNIInteralArgsByRef = new bool[1];
__PBNIInteralArgs[0] = details;
if ((object)details == null)
__PBNIInteralArgTypes[0] = typeof(Sybase.PowerBuilder.PBString);
else
__PBNIInteralArgTypes[0] = details.GetType();
__PBNIInteralArgsByRef[0] = false;
Sybase.PowerBuilder.IPBValue __PBNIInteralReturn = new Sybase.PowerBuilder.PBString();
_object.Invoke(3, __PBNIInteralArgs, __PBNIInteralArgTypes, __PBNIInteralArgsByRef, ref __PBNIInteralReturn, typeof(Sybase.PowerBuilder.PBString));
return (Sybase.PowerBuilder.PBString)__PBNIInteralReturn;
}
示例3: pbgetcookies
public virtual Sybase.PowerBuilder.PBAny pbgetcookies(Sybase.PowerBuilder.PBString uri)
{
Sybase.PowerBuilder.IPBValue[] __PBNIInteralArgs = new Sybase.PowerBuilder.IPBValue[1];
System.Type[] __PBNIInteralArgTypes = new System.Type[1];
bool[] __PBNIInteralArgsByRef = new bool[1];
__PBNIInteralArgs[0] = uri;
if ((object)uri == null)
__PBNIInteralArgTypes[0] = typeof(Sybase.PowerBuilder.PBString);
else
__PBNIInteralArgTypes[0] = uri.GetType();
__PBNIInteralArgsByRef[0] = false;
Sybase.PowerBuilder.IPBValue __PBNIInteralReturn = new Sybase.PowerBuilder.PBAny();
_proxy.Invoke("<method name='PBGetCookies' ns='System.Runtime.Remoting.Messaging' IsCookieFunction='True' pbname='PBGetCookies'><return name='returnvalue' type='System.Object' isRef='false' ArrayDim='0' IsNullableType='false' /><param name='cookie' type='System.String' pos='0' dir='in' ArrayDim='0' IsNullableType='False'/></method>", __PBNIInteralArgs, __PBNIInteralArgTypes, __PBNIInteralArgsByRef, ref __PBNIInteralReturn, typeof(Sybase.PowerBuilder.PBAny));
return new Sybase.PowerBuilder.PBAny(__PBNIInteralReturn);
}
示例4: pbaddcookie
public virtual void pbaddcookie(Sybase.PowerBuilder.PBAny cookie)
{
Sybase.PowerBuilder.IPBValue[] __PBNIInteralArgs = new Sybase.PowerBuilder.IPBValue[1];
System.Type[] __PBNIInteralArgTypes = new System.Type[1];
bool[] __PBNIInteralArgsByRef = new bool[1];
__PBNIInteralArgs[0] = cookie;
if ((object)cookie == null)
__PBNIInteralArgTypes[0] = typeof(Sybase.PowerBuilder.PBAny);
else
__PBNIInteralArgTypes[0] = cookie.GetType();
__PBNIInteralArgsByRef[0] = false;
Sybase.PowerBuilder.IPBValue __PBNIInteralReturn = new Sybase.PowerBuilder.PBInt();
_proxy.Invoke("<method name='PBAddCookie' ns='System.Runtime.Remoting.Messaging' IsCookieFunction='True' pbname='PBAddCookie'><return name='returnvalue' type='System.Void' isRef='false' ArrayDim='0' IsNullableType='false' /><param name='cookie' type='any' pos='0' dir='in' ArrayDim='0' IsNullableType='False'/></method>", __PBNIInteralArgs, __PBNIInteralArgTypes, __PBNIInteralArgsByRef, ref __PBNIInteralReturn, typeof(Sybase.PowerBuilder.PBInt));
}
示例5: getholdings
public virtual Sybase.PowerBuilder.PBAny getholdings(Sybase.PowerBuilder.PBString userid)
{
Sybase.PowerBuilder.IPBValue[] __PBNIInteralArgs = new Sybase.PowerBuilder.IPBValue[1];
System.Type[] __PBNIInteralArgTypes = new System.Type[1];
bool[] __PBNIInteralArgsByRef = new bool[1];
__PBNIInteralArgs[0] = userid;
if ((object)userid == null)
__PBNIInteralArgTypes[0] = typeof(Sybase.PowerBuilder.PBString);
else
__PBNIInteralArgTypes[0] = userid.GetType();
__PBNIInteralArgsByRef[0] = false;
Sybase.PowerBuilder.IPBValue __PBNIInteralReturn = new Sybase.PowerBuilder.PBAny();
_proxy.Invoke("<method name='getHoldings' ns='WebService' pbname='getHoldings'><return name='returnvalue' type='WebService.HoldingDataBean' isRef='False' ArrayDim='1' IsNullableType='False' /><param name='userID' type='System.String' pos='0' dir='in' ArrayDim='0' IsNullableType='False'/></method>", __PBNIInteralArgs, __PBNIInteralArgTypes, __PBNIInteralArgsByRef, ref __PBNIInteralReturn, typeof(Sybase.PowerBuilder.PBAny));
return new Sybase.PowerBuilder.PBAny(__PBNIInteralReturn);
}
示例6: sell
public virtual c__orderdatabean sell(Sybase.PowerBuilder.PBString userid, Sybase.PowerBuilder.PBLong holdingid, Sybase.PowerBuilder.PBLong orderprocessingmode)
{
Sybase.PowerBuilder.IPBValue[] __PBNIInteralArgs = new Sybase.PowerBuilder.IPBValue[3];
System.Type[] __PBNIInteralArgTypes = new System.Type[3];
bool[] __PBNIInteralArgsByRef = new bool[3];
__PBNIInteralArgs[0] = userid;
if ((object)userid == null)
__PBNIInteralArgTypes[0] = typeof(Sybase.PowerBuilder.PBString);
else
__PBNIInteralArgTypes[0] = userid.GetType();
__PBNIInteralArgsByRef[0] = false;
__PBNIInteralArgs[1] = holdingid;
if ((object)holdingid == null)
__PBNIInteralArgTypes[1] = typeof(Sybase.PowerBuilder.PBLong);
else
__PBNIInteralArgTypes[1] = holdingid.GetType();
__PBNIInteralArgsByRef[1] = false;
__PBNIInteralArgs[2] = orderprocessingmode;
if ((object)orderprocessingmode == null)
__PBNIInteralArgTypes[2] = typeof(Sybase.PowerBuilder.PBLong);
else
__PBNIInteralArgTypes[2] = orderprocessingmode.GetType();
__PBNIInteralArgsByRef[2] = false;
Sybase.PowerBuilder.IPBValue __PBNIInteralReturn = new c__orderdatabean();
_proxy.Invoke("<method name='sell' ns='WebService' pbname='sell'><return name='returnvalue' type='WebService.OrderDataBean' isRef='False' ArrayDim='0' IsNullableType='False' /><param name='userID' type='System.String' pos='0' dir='in' ArrayDim='0' IsNullableType='False'/><param name='holdingID' type='System.Int32' pos='1' dir='in' ArrayDim='0' IsNullableType='False'/><param name='orderProcessingMode' type='System.Int32' pos='2' dir='in' ArrayDim='0' IsNullableType='False'/></method>", __PBNIInteralArgs, __PBNIInteralArgTypes, __PBNIInteralArgsByRef, ref __PBNIInteralReturn, typeof(c__orderdatabean));
return (c__orderdatabean)__PBNIInteralReturn;
}
示例7: logout
public virtual void logout(Sybase.PowerBuilder.PBString userid)
{
Sybase.PowerBuilder.IPBValue[] __PBNIInteralArgs = new Sybase.PowerBuilder.IPBValue[1];
System.Type[] __PBNIInteralArgTypes = new System.Type[1];
bool[] __PBNIInteralArgsByRef = new bool[1];
__PBNIInteralArgs[0] = userid;
if ((object)userid == null)
__PBNIInteralArgTypes[0] = typeof(Sybase.PowerBuilder.PBString);
else
__PBNIInteralArgTypes[0] = userid.GetType();
__PBNIInteralArgsByRef[0] = false;
Sybase.PowerBuilder.IPBValue __PBNIInteralReturn = new Sybase.PowerBuilder.PBInt();
_proxy.Invoke("<method name='logout' ns='WebService' pbname='logout'><param name='userID' type='System.String' pos='0' dir='in' ArrayDim='0' IsNullableType='False'/></method>", __PBNIInteralArgs, __PBNIInteralArgTypes, __PBNIInteralArgsByRef, ref __PBNIInteralReturn, typeof(Sybase.PowerBuilder.PBInt));
}
示例8: getaccountprofiledata
public virtual c__accountprofiledatabean getaccountprofiledata(Sybase.PowerBuilder.PBString userid)
{
Sybase.PowerBuilder.IPBValue[] __PBNIInteralArgs = new Sybase.PowerBuilder.IPBValue[1];
System.Type[] __PBNIInteralArgTypes = new System.Type[1];
bool[] __PBNIInteralArgsByRef = new bool[1];
__PBNIInteralArgs[0] = userid;
if ((object)userid == null)
__PBNIInteralArgTypes[0] = typeof(Sybase.PowerBuilder.PBString);
else
__PBNIInteralArgTypes[0] = userid.GetType();
__PBNIInteralArgsByRef[0] = false;
Sybase.PowerBuilder.IPBValue __PBNIInteralReturn = new c__accountprofiledatabean();
_proxy.Invoke("<method name='getAccountProfileData' ns='WebService' pbname='getAccountProfileData'><return name='returnvalue' type='WebService.AccountProfileDataBean' isRef='False' ArrayDim='0' IsNullableType='False' /><param name='userID' type='System.String' pos='0' dir='in' ArrayDim='0' IsNullableType='False'/></method>", __PBNIInteralArgs, __PBNIInteralArgTypes, __PBNIInteralArgsByRef, ref __PBNIInteralReturn, typeof(c__accountprofiledatabean));
return (c__accountprofiledatabean)__PBNIInteralReturn;
}
示例9: cancelasync
public virtual void cancelasync(Sybase.PowerBuilder.PBAny userstate)
{
Sybase.PowerBuilder.IPBValue[] __PBNIInteralArgs = new Sybase.PowerBuilder.IPBValue[1];
System.Type[] __PBNIInteralArgTypes = new System.Type[1];
bool[] __PBNIInteralArgsByRef = new bool[1];
__PBNIInteralArgs[0] = userstate;
if ((object)userstate == null)
__PBNIInteralArgTypes[0] = typeof(Sybase.PowerBuilder.PBAny);
else
__PBNIInteralArgTypes[0] = userstate.GetType();
__PBNIInteralArgsByRef[0] = false;
Sybase.PowerBuilder.IPBValue __PBNIInteralReturn = new Sybase.PowerBuilder.PBInt();
_proxy.Invoke("<method name='CancelAsync' ns='WebService' pbname='CancelAsync'><param name='userState' type='System.Object' pos='0' dir='in' ArrayDim='0' IsNullableType='False'/></method>", __PBNIInteralArgs, __PBNIInteralArgTypes, __PBNIInteralArgsByRef, ref __PBNIInteralReturn, typeof(Sybase.PowerBuilder.PBInt));
}
示例10: getquote
public virtual c__quotedatabean getquote(Sybase.PowerBuilder.PBString symbol)
{
Sybase.PowerBuilder.IPBValue[] __PBNIInteralArgs = new Sybase.PowerBuilder.IPBValue[1];
System.Type[] __PBNIInteralArgTypes = new System.Type[1];
bool[] __PBNIInteralArgsByRef = new bool[1];
__PBNIInteralArgs[0] = symbol;
if ((object)symbol == null)
__PBNIInteralArgTypes[0] = typeof(Sybase.PowerBuilder.PBString);
else
__PBNIInteralArgTypes[0] = symbol.GetType();
__PBNIInteralArgsByRef[0] = false;
Sybase.PowerBuilder.IPBValue __PBNIInteralReturn = new c__quotedatabean();
_proxy.Invoke("<method name='getQuote' ns='WebService' pbname='getQuote'><return name='returnvalue' type='WebService.QuoteDataBean' isRef='False' ArrayDim='0' IsNullableType='False' /><param name='symbol' type='System.String' pos='0' dir='in' ArrayDim='0' IsNullableType='False'/></method>", __PBNIInteralArgs, __PBNIInteralArgTypes, __PBNIInteralArgsByRef, ref __PBNIInteralReturn, typeof(c__quotedatabean));
return (c__quotedatabean)__PBNIInteralReturn;
}
示例11: setcommenturi
public virtual Sybase.PowerBuilder.PBLong setcommenturi(Sybase.PowerBuilder.PBString val)
{
Sybase.PowerBuilder.IPBValue[] __PBNIInteralArgs = new Sybase.PowerBuilder.IPBValue[1];
System.Type[] __PBNIInteralArgTypes = new System.Type[1];
bool[] __PBNIInteralArgsByRef = new bool[1];
__PBNIInteralArgs[0] = val;
if ((object)val == null)
__PBNIInteralArgTypes[0] = typeof(Sybase.PowerBuilder.PBString);
else
__PBNIInteralArgTypes[0] = val.GetType();
__PBNIInteralArgsByRef[0] = false;
Sybase.PowerBuilder.IPBValue __PBNIInteralReturn = new Sybase.PowerBuilder.PBLong();
_object.Invoke(21, __PBNIInteralArgs, __PBNIInteralArgTypes, __PBNIInteralArgsByRef, ref __PBNIInteralReturn, typeof(Sybase.PowerBuilder.PBLong));
return (Sybase.PowerBuilder.PBLong)__PBNIInteralReturn;
}
示例12: setversion
public virtual Sybase.PowerBuilder.PBLong setversion(Sybase.PowerBuilder.PBLong version)
{
Sybase.PowerBuilder.IPBValue[] __PBNIInteralArgs = new Sybase.PowerBuilder.IPBValue[1];
System.Type[] __PBNIInteralArgTypes = new System.Type[1];
bool[] __PBNIInteralArgsByRef = new bool[1];
__PBNIInteralArgs[0] = version;
if ((object)version == null)
__PBNIInteralArgTypes[0] = typeof(Sybase.PowerBuilder.PBLong);
else
__PBNIInteralArgTypes[0] = version.GetType();
__PBNIInteralArgsByRef[0] = false;
Sybase.PowerBuilder.IPBValue __PBNIInteralReturn = new Sybase.PowerBuilder.PBLong();
_object.Invoke(15, __PBNIInteralArgs, __PBNIInteralArgTypes, __PBNIInteralArgsByRef, ref __PBNIInteralReturn, typeof(Sybase.PowerBuilder.PBLong));
return (Sybase.PowerBuilder.PBLong)__PBNIInteralReturn;
}
示例13: settimestamp
public virtual Sybase.PowerBuilder.PBLong settimestamp(Sybase.PowerBuilder.PBDateTime dt)
{
Sybase.PowerBuilder.IPBValue[] __PBNIInteralArgs = new Sybase.PowerBuilder.IPBValue[1];
System.Type[] __PBNIInteralArgTypes = new System.Type[1];
bool[] __PBNIInteralArgsByRef = new bool[1];
__PBNIInteralArgs[0] = dt;
if ((object)dt == null)
__PBNIInteralArgTypes[0] = typeof(Sybase.PowerBuilder.PBDateTime);
else
__PBNIInteralArgTypes[0] = dt.GetType();
__PBNIInteralArgsByRef[0] = false;
Sybase.PowerBuilder.IPBValue __PBNIInteralReturn = new Sybase.PowerBuilder.PBLong();
_object.Invoke(13, __PBNIInteralArgs, __PBNIInteralArgTypes, __PBNIInteralArgsByRef, ref __PBNIInteralReturn, typeof(Sybase.PowerBuilder.PBLong));
return (Sybase.PowerBuilder.PBLong)__PBNIInteralReturn;
}