Delen via


GetProfileByKey Method

Namespace:  Microsoft.CommerceServer.Interop.Profiles
Assembly:  Microsoft.CommerceServer.Interop (in Microsoft.CommerceServer.Interop.dll)

Syntax

'Declaration
Public Overridable Function 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.GetProfileByKey(bstrKeyMemberName, _
    sValue, bstrType, bReturnError)
public virtual IProfileObject GetProfileByKey(
    string bstrKeyMemberName,
    Object sValue,
    string bstrType,
    bool bReturnError
)
public:
virtual IProfileObject^ GetProfileByKey(
    [InAttribute] String^ bstrKeyMemberName, 
    [InAttribute] Object^ sValue, 
    [InAttribute] String^ bstrType, 
    [InAttribute] bool bReturnError
)
public function GetProfileByKey(
    bstrKeyMemberName : String, 
    sValue : Object, 
    bstrType : String, 
    bReturnError : boolean
) : IProfileObject

Parameters

Return Value

Type: Microsoft.CommerceServer.Interop.Profiles..::.IProfileObject

Implements

IProfileService2..::.GetProfileByKey(String, Object, String, Boolean)

Permissions

See Also

Reference

ProfileServiceClass Class

ProfileServiceClass Members

Microsoft.CommerceServer.Interop.Profiles Namespace