 | ExtensionMethodsTryResolveReference Method |
Try to resolve a reference
Namespace: SanteDB.CoreAssembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntaxpublic static bool TryResolveReference(
this ICdssLibraryRepository repository,
string referenceString,
out ICdssLibrary resolved
)
<ExtensionAttribute>
Public Shared Function TryResolveReference (
repository As ICdssLibraryRepository,
referenceString As String,
<OutAttribute> ByRef resolved As ICdssLibrary
) As Boolean
public:
[ExtensionAttribute]
static bool TryResolveReference(
ICdssLibraryRepository^ repository,
String^ referenceString,
[OutAttribute] ICdssLibrary^% resolved
)
[<ExtensionAttribute>]
static member TryResolveReference :
repository : ICdssLibraryRepository *
referenceString : string *
resolved : ICdssLibrary byref -> bool Parameters
- repository ICdssLibraryRepository
- The repository to resolve on
- referenceString String
- The reference string
- resolved ICdssLibrary
- The resolved library
Return Value
BooleanTrue if resolution was successful
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ICdssLibraryRepository. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also