IProfileService_GetProfileByKey Method
Namespace: Microsoft.CommerceServer.Interop.Profiles
Assembly: Microsoft.CommerceServer.Interop (in Microsoft.CommerceServer.Interop.dll)
Syntax
'Declaration
Public Overridable Function IProfileService_GetProfileByKey ( _
bstrKeyMemberName As String, _
sValue As Object, _
bstrType As String, _
bReturnError As Boolean _
) As IProfileObject
'Usage
Dim instance As ProfileServiceClass
Dim bstrKeyMemberName As String
Dim sValue As Object
Dim bstrType As String
Dim bReturnError As Boolean
Dim returnValue As IProfileObject
returnValue = instance.IProfileService_GetProfileByKey(bstrKeyMemberName, _
sValue, bstrType, bReturnError)
public virtual IProfileObject IProfileService_GetProfileByKey(
string bstrKeyMemberName,
Object sValue,
string bstrType,
bool bReturnError
)
public:
virtual IProfileObject^ IProfileService_GetProfileByKey(
[InAttribute] String^ bstrKeyMemberName,
[InAttribute] Object^ sValue,
[InAttribute] String^ bstrType,
[InAttribute] bool bReturnError
)
public function IProfileService_GetProfileByKey(
bstrKeyMemberName : String,
sValue : Object,
bstrType : String,
bReturnError : boolean
) : IProfileObject
Parameters
- bstrKeyMemberName
Type: System..::.String
- sValue
Type: System..::.Object
- bstrType
Type: System..::.String
- bReturnError
Type: System..::.Boolean
Return Value
Type: Microsoft.CommerceServer.Interop.Profiles..::.IProfileObject
Implements
IProfileService..::.GetProfileByKey(String, Object, String, Boolean)
Permissions
- 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.