PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Extensibility Namespace / Message­Location­Extensions Class / Message­Location­Extensions Methods / Message­Location­Extensions.​Get­File­Name Method

MessageLocationExtensions.GetFileName Method

[Missing <summary> documentation for "M:PostSharp.Extensibility.MessageLocationExtensions.GetFileName(System.Xml.Linq.XObject)"]

Namespace:  PostSharp.Extensibility
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
public static string GetFileName(
	this XObject node


Type: System.Xml.Linq.XObject

[Missing <param name="node"/> documentation for "M:PostSharp.Extensibility.MessageLocationExtensions.GetFileName(System.Xml.Linq.XObject)"]

Return Value

Type: String

[Missing <returns> documentation for "M:PostSharp.Extensibility.MessageLocationExtensions.GetFileName(System.Xml.Linq.XObject)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type XObject. 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