IXamlNameResolver.Resolve Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Resolves an object from a name reference.
Overloads
Resolve(String) |
Resolves an object from a name reference. |
Resolve(String, Boolean) |
Resolves an object from a name reference, and provides a tracking value that reports whether the object is fully initialized for object graph purposes. |
Resolve(String)
Resolves an object from a name reference.
public:
System::Object ^ Resolve(System::String ^ name);
public object Resolve (string name);
abstract member Resolve : string -> obj
Public Function Resolve (name As String) As Object
Parameters
- name
- String
The name reference to resolve.
Returns
The resolved object; or null.
Remarks
If a value is returned as null
, a forward reference might exist. Implementations that want to support forward references can use the FixupToken
pattern through the GetFixupToken and IsFixupTokenAvailable APIs.
See also
Applies to
Resolve(String, Boolean)
Resolves an object from a name reference, and provides a tracking value that reports whether the object is fully initialized for object graph purposes.
public:
System::Object ^ Resolve(System::String ^ name, [Runtime::InteropServices::Out] bool % isFullyInitialized);
public object Resolve (string name, out bool isFullyInitialized);
abstract member Resolve : string * bool -> obj
Public Function Resolve (name As String, ByRef isFullyInitialized As Boolean) As Object
Parameters
- name
- String
The name reference to resolve.
- isFullyInitialized
- Boolean
When this method returns, true
if the returned object has any dependencies on unresolved references; otherwise, false
.
Returns
An object that provides a token for lookup behavior to be evaluated later.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기