NamedImage.Name Property
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.
Gets or sets the unique name of a NamedImage object.
public:
virtual property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(false)]
public override string Name { get; set; }
[<System.ComponentModel.Bindable(false)>]
member this.Name : string with get, set
Public Overrides Property Name As String
Property Value
A string
value that represents the unique name of a NamedImage object stored in the NamedImagesCollection.
- Attributes
Remarks
The property identifies a NamedImage object that is stored in the NamedImagesCollection. This name must be unique, or an exception will be thrown when the object is added to the collection.
Use NamedImage objects for dynamically created images, which can then be assigned to a chart image property.
This Name property value is used when you set a chart image property to a NamedImage object.
When one of the image properties of the Chart control is set by specifying a string
value, the Images collection property - of type NamedImagesCollection - is first checked to determine whether an image with the specified name exists. If a matching NamedImage object is found, this image is used. If a matching NamedImage object is not located, the string
value is treated as a URL, an image resource name, or an image path.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기